don't reset the simulation (in C++), when pressing some VR button

add some little tests in vrEvent.py
This commit is contained in:
Erwin Coumans
2016-12-26 21:08:10 -08:00
parent 826c5854a8
commit 9c12e4edb0
2 changed files with 11 additions and 3 deletions

View File

@@ -1030,7 +1030,7 @@ public:
if (args.CheckCmdLineFlag("robotassets"))
{
// gCreateDefaultRobotAssets = true;
gCreateDefaultRobotAssets = true;
}
if (args.CheckCmdLineFlag("norobotassets"))
@@ -1859,7 +1859,7 @@ void PhysicsServerExample::vrControllerButtonCallback(int controllerId, int butt
{
if (button == 1 && state == 0)
{
gResetSimulation = true;
//gResetSimulation = true;
//gVRTeleportPos1 = gLastPickPos;
}
} else