mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 06:15:46 +02:00
remove other tabs from moveJoints
This commit is contained in:
parent
b32aecc456
commit
6d0e612923
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ var isAnimating = false;
|
||||||
Controller.keyPressEvent.connect(function(event) {
|
Controller.keyPressEvent.connect(function(event) {
|
||||||
if (event.text == "SHIFT") {
|
if (event.text == "SHIFT") {
|
||||||
if (isAnimating) {
|
if (isAnimating) {
|
||||||
isAnimating = false;
|
isAnimating = false;
|
||||||
MyAvatar.stopAnimation(testAnimation);
|
MyAvatar.stopAnimation(testAnimation);
|
||||||
} else {
|
} else {
|
||||||
isAnimating = true;
|
isAnimating = true;
|
||||||
MyAvatar.startAnimation(testAnimation, FRAME_RATE, 1.0, true, false);
|
MyAvatar.startAnimation(testAnimation, FRAME_RATE, 1.0, true, false);
|
||||||
|
|
Loading…
Reference in a new issue