#138 1.11.67 "Align textures on all sides" stops working after a while

Windows
open
nobody
5
2014-07-22
2013-02-23
Xfing
No

"Align all Textures on child sides" stops working after the editor has been open for a while. This mainly shows for textures which are adjacent to each other but are on the edges of absent cubes (so not technically adjacent). I mean like when you have a cube and want to make a disjointed, floating cube you can either make walls on all 6 sides and then texture them, or delete the cube itself, and the adjacent cubes will create walls of their own. The second method is obviously better, because its easier and properly recognized by the automap. Even though the editor is capable of aligning textures in such a situation, after it's been open for a while, it stops working. Restarting it seems to solve the problem.

Discussion

  • karx11erx

    karx11erx - 2013-05-20

    I think this problem is rooted in the backup function, which I believe is also responsible for the crashes DLE is suffering from. This is a very hard to track bug though.

     
    • - 2014-07-22

      What if...the undo system was removed completely? As an experiment.

       
      • Sirius

        Sirius - 2014-07-22

        This would be basically equivalent to not using it; the undo system doesn't change the level until you undo/redo something.
        The implication in this case is that undo/redo operations were carried out by the user before the problem started occurring - though it isn't proven that that was the cause. DLE 1.11.86 had logging added that should help track down problems caused by the undo system, as long as someone gets around to sending in the log when problems happen... :)

         
  • karx11erx

    karx11erx - 2013-05-20

    Please create a test level for me and explain what textures to align how. Your description above is too complicated for me to try and figure it exactly.

     
  • karx11erx

    karx11erx - 2014-06-15

    I think you may need to switch to "side" editing mode to make it work. So if you switched to some other element editing mode and tried to align sides, you thought it had stopped working.

     
    Last edit: karx11erx 2014-06-15
  • karx11erx

    karx11erx - 2014-06-15

    Ticket moved from /p/d2x-xl/bugs/2667/

     
  • - 2014-07-22

    I've noticed this as well. The "Align textures on all sides" appears to be iffy sometimes, aligning not just the textures on one face (and all approximately adjacent (same-side) faces) but the rest of the same-textures on different sides in the same cube as well.

    I am not yet sure how to reproduce this specifically. It was working normally last night for some duct-vents in a map that have same-texture sides and then it did the above "but the rest of the same-textures on different sides in the same cube as well". Restarts of program did not fix, and the "align all sides" was unchecked, with the button lacking the 'All' used.

    (Are there plans for tooltips for buttons as to their function?)

    (I wonder...does it have to do with the limited size of the texture alignment grid view?)

     
    Last edit: 2014-07-22
    • Sirius

      Sirius - 2014-07-23

      I could look at expanding the tooltips. I agree that the function of these buttons is somewhat complicated.

      That grate probably shouldn't be showing up in the texture preview since it's not technically adjacent. If you have "align all sides" unchecked, it shouldn't be affected by the "align children" button - except on old versions of DLE - but the preview doesn't reflect that.

      If "align all sides" IS checked, it depends. Alignment can run around all over the place in that situation, especially with the textures set up as they are here, but closed walls were supposed to block it, assuming they're two-sided.

      The "align all" BUTTON is basically like clicking "align children" on every side in the marked block - and if you don't have one, every side in the level. That one should probably come with a "use at your own risk" warning since you don't have much control over the results.

       
      • - 2014-07-23

        The "align all" BUTTON is basically like clicking "align children" on every side in the marked block - and if you don't have one, every side in the level.

        Ah, that's...why that happened that one time, to surfaces and doors far away...

        The issue seems to have to do with a 'wall' present...

         
  • - 2014-07-22

    I deleted the grate there and the highlighted (in red) square 'child' face disappeared.

     
    • karx11erx

      karx11erx - 2014-07-23

      If you are using DLE regularly, please collect the log files it creates and attach them here.

      To: 138@dle-xp.d2x-xl.p.re.sf.net
      From: skyalmian@users.sf.net
      Subject: [d2x-xl:dle-xp] #138 1.11.67 "Align textures on all sides" stops working after a while
      Date: Tue, 22 Jul 2014 23:08:13 +0000

      I deleted the grate there and the highlighted (in red) square 'child' face disappeared.

      [dle-xp:#138] 1.11.67 "Align textures on all sides" stops working after a while

      Status: open

      Group: Windows

      Labels: 1.11.68 align all textures on all sides minor

      Created: Sat Feb 23, 2013 12:03 PM UTC by Xfing

      Last Updated: Tue Jul 22, 2014 11:04 PM UTC

      Owner: nobody

      "Align all Textures on child sides" stops working after the editor has been open for a while. This mainly shows for textures which are adjacent to each other but are on the edges of absent cubes (so not technically adjacent). I mean like when you have a cube and want to make a disjointed, floating cube you can either make walls on all 6 sides and then texture them, or delete the cube itself, and the adjacent cubes will create walls of their own. The second method is obviously better, because its easier and properly recognized by the automap. Even though the editor is capable of aligning textures in such a situation, after it's been open for a while, it stops working. Restarting it seems to solve the problem.

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/d2x-xl/dle-xp/138/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
      • - 2014-07-23

        Perhaps even better, I can extract the offending section into a file and upload it here for direct inspection?

        Also, it may or may not matter, but I am directly carrying on editing Descent 2: Vertigo files that were last modified in December 2000 with then-DMB 2.7.

         
        Last edit: 2014-07-23
        • karx11erx

          karx11erx - 2014-07-24

          I need the log files because the Undo function seems to have a very hard to track down bug, and people using DLE extensively might have log files helping me to nail that bug down, as the log file contains specifically undo function information.
          Ofc you can also post the problematic part or the entire level (it will only be used for debugging purposes and deleted afterwards, it won't be given to other people).

          To: 138@dle-xp.d2x-xl.p.re.sf.net
          From: skyalmian@users.sf.net
          Subject: [d2x-xl:dle-xp] Re: #138 1.11.67 "Align textures on all sides" stops working after a while
          Date: Wed, 23 Jul 2014 23:17:30 +0000

          Perhaps even better, I can extract the offending section into a file and upload it here for direct inspection?

          [dle-xp:#138] 1.11.67 "Align textures on all sides" stops working after a while

          Status: open

          Group: Windows

          Labels: 1.11.68 align all textures on all sides minor

          Created: Sat Feb 23, 2013 12:03 PM UTC by Xfing

          Last Updated: Tue Jul 22, 2014 11:08 PM UTC

          Owner: nobody

          "Align all Textures on child sides" stops working after the editor has been open for a while. This mainly shows for textures which are adjacent to each other but are on the edges of absent cubes (so not technically adjacent). I mean like when you have a cube and want to make a disjointed, floating cube you can either make walls on all 6 sides and then texture them, or delete the cube itself, and the adjacent cubes will create walls of their own. The second method is obviously better, because its easier and properly recognized by the automap. Even though the editor is capable of aligning textures in such a situation, after it's been open for a while, it stops working. Restarting it seems to solve the problem.

          Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/d2x-xl/dle-xp/138/

          To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

           

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks