Unaided
03-02-2008, 07:44 PM
*Moderators: Move this post to apropiate section.
I was make a custom dual layout, and always I wanted to put a Camera View on right place of layout. From ViewManager instances was not possible because editing vm.xsivw and set maxInstances = 2 (or more) tuning make which my XSI turn inestable and not redrawing correctly ViewManager.
I try copy the same method used in ViewportControls for TearOff Camera option. This option use a ObjectView panel with specifics parameters. like a lockstatus or displayall turn on.
Well, my problem is which XSi not load my custom layout with ObjectView panel viewing scene camera, but load Object View with Default camera, and shows orthogonal view.
This is the ObjectView section from my custom layout script:
<frame name="objectView" displayname="Tear Off Camera" type="Object View" primary="false" toolbar="own">
<properties>
<view>front</view>
<camera>camera</camera>
<displayall>true</displayall>
<lockstatus>true</lockstatus>
<modifycameras>true</modifycameras>
</properties>
</frame>
I was make a custom dual layout, and always I wanted to put a Camera View on right place of layout. From ViewManager instances was not possible because editing vm.xsivw and set maxInstances = 2 (or more) tuning make which my XSI turn inestable and not redrawing correctly ViewManager.
I try copy the same method used in ViewportControls for TearOff Camera option. This option use a ObjectView panel with specifics parameters. like a lockstatus or displayall turn on.
Well, my problem is which XSi not load my custom layout with ObjectView panel viewing scene camera, but load Object View with Default camera, and shows orthogonal view.
This is the ObjectView section from my custom layout script:
<frame name="objectView" displayname="Tear Off Camera" type="Object View" primary="false" toolbar="own">
<properties>
<view>front</view>
<camera>camera</camera>
<displayall>true</displayall>
<lockstatus>true</lockstatus>
<modifycameras>true</modifycameras>
</properties>
</frame>