mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:18:24 +02:00
fix indentation
This commit is contained in:
parent
83a8636a36
commit
49d3b7e93b
1 changed files with 4 additions and 5 deletions
|
@ -56,7 +56,6 @@
|
||||||
|
|
||||||
this.isGrabbed = true;
|
this.isGrabbed = true;
|
||||||
this.initialHand = this.hand;
|
this.initialHand = this.hand;
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -69,16 +68,16 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
releaseGrab: function() {
|
releaseGrab: function() {
|
||||||
if (this.isGrabbed === true && this.hand === this.initialHand) {
|
if (this.isGrabbed === true && this.hand === this.initialHand) {
|
||||||
|
|
||||||
this.audioInjector.stop();
|
this.audioInjector.stop();
|
||||||
|
|
||||||
Entities.editEntity(this.entityID, {
|
Entities.editEntity(this.entityID, {
|
||||||
animationSettings: this.stopAnimationSetting,
|
animationSettings: this.stopAnimationSetting,
|
||||||
animationURL: "http://hifi-public.s3.amazonaws.com/models/Bboys/bboy2/bboy2.fbx",
|
animationURL: "http://hifi-public.s3.amazonaws.com/models/Bboys/bboy2/bboy2.fbx",
|
||||||
});
|
});
|
||||||
this.isGrabbed = false;
|
this.isGrabbed = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
preload: function(entityID) {
|
preload: function(entityID) {
|
||||||
|
|
Loading…
Reference in a new issue