+ share GL widgets when creating further 3d views of a document

This commit is contained in:
wmayer
2014-10-15 12:04:06 +02:00
parent 8711bdd78f
commit 7422f073ea
8 changed files with 64 additions and 51 deletions

View File

@@ -1576,7 +1576,7 @@ StdCmdViewCreate::StdCmdViewCreate()
void StdCmdViewCreate::activated(int iMsg)
{
getActiveGuiDocument()->createView("View3DIv");
getActiveGuiDocument()->createView(View3DInventor::getClassTypeId());
getActiveGuiDocument()->getActiveView()->viewAll();
}