Skip to content
Snippets Groups Projects
Unverified Commit 0872d047 authored by juan-bobo's avatar juan-bobo Committed by GitHub
Browse files

Merge pull request #46 from mozilla/bug/hands-open-and-close

Remove animation mixer
parents 4867cf81 55a7fc3d
No related branches found
No related tags found
No related merge requests found
......@@ -16,16 +16,13 @@ function ShortPress(el, button, onActivate) {
ShortPress.prototype = {
onButtonDown(event) {
console.log("down");
var self = this;
this.pressTimer = window.setTimeout(function() {
console.log("activate");
self.onActivate(event);
}, this.timeOut);
},
onButtonUp(event) {
console.log("up");
clearTimeout(this.pressTimer);
},
......@@ -35,5 +32,4 @@ ShortPress.prototype = {
}
};
console.log("foo");
AFRAME.registerInputActivator("shortpress", ShortPress);
......@@ -87,7 +87,6 @@
<a-entity
class="hand"
cached-gltf-model="#bot-left-hand-mesh"
animation-mixer
personal-space-invader
rotation="-90 90 0"
position="0 0 0.075"
......
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