FreeCAD-VR: Small cleanups

This commit is contained in:
jriegel 2014-09-18 10:25:28 +02:00
parent 719c6e9425
commit a81308ab57
2 changed files with 1 additions and 8 deletions

View File

@ -1,5 +1,5 @@
/**************************************************************************\ /**************************************************************************\
* Copyright (c) Bastiaan Veelo (Bastiaan a_t Veelo d_o_t net) * Copyright (c) Bastiaan Veelo (Bastiaan a_t Veelo d_o_t net) & Juergen Riegel (FreeCAD@juergen-riegel.net)
* All rights reserved. Contact me if the below is too restrictive for you. * All rights reserved. Contact me if the below is too restrictive for you.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

View File

@ -1650,15 +1650,8 @@ void View3DInventorViewer::viewVR(void)
if(oculusUp()) if(oculusUp())
oculusStop(); oculusStop();
else{ else{
#if 0
// start and load the simple test scene:
oculusSetTestScene(oculusStart());
#else
View3DInventorRiftViewer* riftWin = oculusStart(); View3DInventorRiftViewer* riftWin = oculusStart();
riftWin->setSceneGraph(pcViewProviderRoot); riftWin->setSceneGraph(pcViewProviderRoot);
#endif
} }
#endif #endif
} }