Jump to content
The Dark Mod Forums

Recommended Posts

Posted

@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.

 

  • 3 weeks later...
Posted

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/

 

 

  • 2 months later...
Posted

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
  • 2 months later...
Posted (edited)

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
Posted (edited)

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
Posted (edited)

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

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

    • Ansome

      I'm back! Happy new years, TDM folks!
      I brought with me a quick update for my first FM that fixes up a lot of small issues that didn't get caught in beta testing. I didn't exactly expect it to take me nearly 9 months to release a patch, but it's been a wild year to say the least. Teaching, finishing up my Master's of Education, and all manner of other events forced me to drop out of the anniversary FM contest and ate up all my time, but I'm back again in a comfortable position to start catching up on all the new FMs. I may even start work on another spooky project of greater length and difficulty in the coming year.
      Thanks again for the warm welcome to the community and have a happy new year!
      · 2 replies
    • JackFarmer

      I got myself the apple tv trial subscription. I have to say, “Foundation” (season 1) is very exciting. Shall I read the books as well?
      · 2 replies
    • datiswous

      One more like..
       

      · 3 replies
    • snatcher

      TDM Modpack v4.6 released!
      Introducing... the Forward Lantern mod.
      · 0 replies
    • JackFarmer

      Where is the "Game Connection" element in the Linux version of DR? I could swear, I saw that in an older build (which I conveniently deleted a few days ago).
      · 5 replies
×
×
  • Create New...