FreeCAD-VR: Small cleanups
This commit is contained in:
parent
719c6e9425
commit
a81308ab57
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user