Jump to content
The Dark Mod Forums

DR not remembering ortho layouts


Recommended Posts

@greebo
Every time I start DR, the ortho views are all at Y/X

8NpJFr9.png

 

I can go to each window then CTRL-TAB to get them where I want, like it was before with splitpane.

But when I close DR and open it again, they're all back to defaults.

  • Like 1

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

  • 3 weeks later...

I have the same problem

 

  • Like 1

I have an eclectic YouTube channel making videos on a variety of games. Come and have look here:

https://www.youtube.com/c/NeonsStyleHD

 

Dark Mod Missions: Briarwood Manor - available here or in game

http://forums.thedarkmod.com/topic/18980-fan-mission-briarwood-manor-by-neonsstyle-first-mission-6082017-update-16/

 

 

Link to comment
Share on other sites

  • 2 months later...

Same here. I love that at least somebody else has my setup, with the 3D-view in the left corner and then all angles in the other three :) Sometimes I get the feeling that folks only work in one orto-view and use commands to turn it around...

  • Like 3
Link to comment
Share on other sites

  • 2 months later...

I wonder if it could be set in the user.xml file.

This code seems to specify the xy-view windows:

name=OrthoView;caption=2D View;state=768;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=200;besth=250;minw=200;minh=250;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=OrthoView2;caption=2D View;state=6297596;dir=1;layer=1;row=0;pos=1;prop=100000;bestw=128;besth=128;minw=128;minh=128;maxw=-1;maxh=-1;floatx=1595;floaty=298;floatw=144;floath=167|name=OrthoView3;caption=2D View;state=6297596;dir=2;layer=0;row=1;pos=0;prop=100000;bestw=128;besth=128;minw=128;minh=128;maxw=-1;maxh=-1;floatx=1803;floaty=932;floatw=144;floath=167|

 

Edited by datiswous
Link to comment
Share on other sites

In the original splitpane view that got removed I think it is stored in this line:

<viewTypes topleft="-1" topright="0" bottomleft="0" bottomright="2"/>

I think currently the setting is not specified and stored in the xml file.

 

Edited by datiswous
Link to comment
Share on other sites

I have been looking at old versions of DarkRadiant. DR 2.12 had the following window layouts:

  • Dockable
  • Embedded
  • Floating
  • Regular
  • RegularLeft
  • SplitPane

In 2.12 on both the Floating and the SplitPane layouts, the XYviews are preserved on restart. This is not the case with the other layouts. So this is not a new thing, the code probably was never there..

Currently DR only uses the Dockable interface, therefore it doesn't work. Maybe it's easier to find the solution by looking how it works in the Floating layout, because that already uses multiple seperate xyviews (if made).

In DR 3.8 in user.xml it has this data under xyview:

<xyview><recent origin="0 0 30" scale="1.000000"/> </xyview>

In DR 2.12, if Floating layout is selected, it has the following data:

<xyview><recent origin="0 0 30" scale="1.000000"/>          <views><view name="0" xPosition="124" yPosition="506" width="400" height="300" type="YZ"/><view name="1" xPosition="562" yPosition="162" width="400" height="300" type="XY"/><view name="2" xPosition="126" yPosition="158" width="400" height="300" type="XZ"/></views> </xyview>

If you load the data in <views></views> in the xml file in DR 3.8, it is loaded into DR, but nothing is done with it.

The GlobalXYWnd.cpp in 2.14 source has this in it:

/* greebo: This method restores all xy views from the information stored in the registry.

And then some code under it.

The GlobalXYWnd.cpp in 3.8 source does not have this code. Maybe makes sense, because it didn't work with the Dockable window layout.

Edited by datiswous
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • snatcher

      TDM Modpack v4.5 released!
      Introducing... The Loop
      · 0 replies
    • Ansome

      Taking a break to alleviate burnout. In retrospect, I probably shouldn't have jumped into a map-making contest so quickly after just finishing another project and especially with my busy schedule, but I do believe I have something that the community will enjoy. No clue if I'll be able to finish it on time for the competition if I factor in a break, but I'd rather take my time and deliver something of quality rather than engage in development crunch or lose part of the map's soul to burnout.
      · 1 reply
    • Skaruts

      Working on an update for my mission By The Cookbook. If anyone that played it has any further bugs to report, please let me know.
      I posted more details about the update in the mission thread.
      · 1 reply
    • lucien

      being thankful for tdm is a good feeling
      · 0 replies
    • The Black Arrow

      Happy birthday to me!
      Yes, today's my birthday and as much as I want to play The Dark Mod, I won't until it's late Autumn, where it should be a bit chilly in my place and there's some wind too.
      For now, it's time to enjoy my birthday, if any of you want to play a great fan mission in my honour...Well that's asking too much, just play the mission because it's fun, not because of me, enjoy it yourself! 💪
      · 5 replies
×
×
  • Create New...