File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ import * as THREE from '../../thirdPartyCode/three/three.module.js';
157157 if ( this . isFlying ) return ;
158158 // conform to spatial cursor mousemove event pageX and pageY
159159 if ( event . button === 2 || ! realityEditor . device . environment . variables . requiresMouseEvents ) {
160- let worldIntersectPoint = realityEditor . spatialCursor . getRaycastCoordinates ( event . pageX , event . pageY ) . point ;
160+ let worldIntersectPoint = realityEditor . spatialCursor . getRaycastCoordinates ( event . pageX , event . pageY , true ) . point ;
161161 if ( worldIntersectPoint === undefined ) return ;
162162 // record pointerdown world intersect point, for off-center camera rotation
163163 this . mouseInput . lastWorldPos = [ worldIntersectPoint . x , worldIntersectPoint . y , worldIntersectPoint . z ] ;
You can’t perform that action at this time.
0 commit comments