don't mess with TranslateZ unless module is active

This commit is contained in:
Seth Alves 2019-10-08 11:13:34 -07:00
parent 600c2c3947
commit a799d305ee

View file

@ -131,7 +131,8 @@ Script.include("/~/system/libraries/controllers.js");
// return currentPoint.z - _this.controlPoint.z;
return 0.5;
} else {
return Controller.getActionValue(Controller.Standard.TranslateZ);
// return Controller.getActionValue(Controller.Standard.TranslateZ);
return null;
}
}).to(Controller.Actions.TranslateZ);