FreeCAD-VR: command integration

This commit is contained in:
jriegel
2014-09-13 10:18:52 +02:00
parent 7762a361a9
commit 6f8d6e9c26
7 changed files with 75 additions and 7 deletions

View File

@@ -1636,6 +1636,19 @@ void View3DInventorViewer::animatedViewAll(int steps, int ms)
}
}
#if BUILD_VR
extern int oculusTest(void);
#endif
void View3DInventorViewer::viewVR(void)
{
#if BUILD_VR
oculusTest();
#endif
}
void View3DInventorViewer::boxZoom(const SbBox2s& box)
{
navigation->boxZoom(box);