File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Assets/HoloToolkit/Input/Scripts Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,7 @@ void Start()
116116 gestureRecognizer . StartCapturingGestures ( ) ;
117117 manipulationRecognizer . StartCapturingGestures ( ) ;
118118 }
119-
120-
121-
119+
122120 private void InteractionManager_SourcePressed ( InteractionSourceState state )
123121 {
124122 if ( ! HandPressed )
@@ -225,6 +223,7 @@ void LateUpdate()
225223 // If the currently focused object doesn't match the old focused object, cancel the current gesture.
226224 // Start looking for new gestures. This is to prevent applying gestures from one hologram to another.
227225 gestureRecognizer . CancelGestures ( ) ;
226+ FocusedObject = newFocusedObject ;
228227 gestureRecognizer . StartCapturingGestures ( ) ;
229228 }
230229
@@ -234,7 +233,6 @@ void LateUpdate()
234233 OnTap ( ) ;
235234 }
236235#endif
237- FocusedObject = newFocusedObject ;
238236 }
239237
240238 void OnDestroy ( )
You can’t perform that action at this time.
0 commit comments