Jump to content
The Dark Mod Forums

DR not remembering ortho layouts

Recommended Posts

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



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:



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




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.

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

    • nbohr1more

      Congrats to all the busy Dark Mod developers! TDM 2.12 is here!
      · 0 replies
    • JackFarmer

      Jeff, I sent you PM a few weeks back but you did not respond. Maybe your inbox is full?
      · 5 replies
    • The Black Arrow

      I was playing Skyrim, got bored fast. Got back to The Dark Mod just for one mission, played "Somewhere above the City" which is not really a great mission but still good, as in above-average.
      My biggest regret is living in this country, where there's a heat wave, I am sweating at 20c and I really wish for temperatures below 5c.
      · 12 replies
    • Skaruts

      Is there something wrong with the forums lately, or is it my browser? I've been having trouble formatting posts, and just now I couldn't format anything at all.
      I'm using Vivaldi.
      Usually I have to: select text, click bold, nothing happens, select again, click bold, then it works. 
      Same for other stuff, like creating spoilers, bullet points, links. Nothing works the first time. 
      · 1 reply
    • STiFU

      Back from a spontaneous 1-week trip to Lanzarote with wife and son. I hope beta testing has been going well...
      · 1 reply
  • Create New...