Skip to content
Snippets Groups Projects
Commit f5b845b9 authored by Kevin Lee's avatar Kevin Lee
Browse files

fix bug where grabbing state was not properly removed from grabbable-toggle objects

parent e2067029
No related branches found
No related tags found
No related merge requests found
...@@ -135,6 +135,7 @@ AFRAME.registerComponent( ...@@ -135,6 +135,7 @@ AFRAME.registerComponent(
if (handIndex !== -1) { if (handIndex !== -1) {
this.grabbers.splice(handIndex, 1); this.grabbers.splice(handIndex, 1);
this.grabber = this.grabbers[0];
} }
this.physicsEnd(evt); this.physicsEnd(evt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment