Browse Source

avoid resetting poseObject if pose position isnt available

Brian Peiris 7 years ago
parent
commit
a6703b2e74
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/renderers/webvr/WebVRManager.js

+ 0 - 4
src/renderers/webvr/WebVRManager.js

@@ -142,10 +142,6 @@ function WebVRManager( renderer ) {
 			tempPosition.applyQuaternion(tempQuaternion);
 			tempPosition.applyQuaternion(tempQuaternion);
 			poseObject.position.add( tempPosition );
 			poseObject.position.add( tempPosition );
 
 
-		} else {
-
-			poseObject.position.set( 0, 0, 0 );
-
 		}
 		}
 
 
 		poseObject.updateMatrixWorld();
 		poseObject.updateMatrixWorld();