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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 6 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...