Hi Dominik,

>> beginEditCP(pwin);  pwin->subPort(vpright);
>> endEditCP(pwin); // make it notice the changes
>> mgr->setWindow(pwin );
>>     // show the whole scene
>> mgr->showAll();
>
> I guess you should add an addRefCP(vpright) before subPort() if you want
> to use it again, or it will be deleted by the reference counting mechanisms.

Actually it was the idea to create each time new viewport as vpright 
(in order to turn stereo on) and to delete this one (in order to turn 
mono on).

But thanks for a hint.

---
Sergej


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to