From 0be91b783b57bd46a5d5e1a4e2e2fe6fe41a726f Mon Sep 17 00:00:00 2001 From: Lars Martens Date: Sat, 21 Mar 2015 15:56:20 +0100 Subject: [PATCH] Model Scales If Set As Small --- main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.js b/main.js index e1b5533..8f338fd 100644 --- a/main.js +++ b/main.js @@ -308,6 +308,12 @@ function updateUI(){ mArmRight.rotation.set(rightArm.x * DEG2RAD, -rightArm.y * DEG2RAD, -rightArm.z * DEG2RAD); armorstand.rotation.y = -rotation * DEG2RAD; + // Scale model, depending on small variable + if(small) + armorstand.scale.set(0.6, 0.6, 0.6); + else + armorstand.scale.set(1, 1, 1); + //Set Visibility mArmRight.visible = mArmLeft.visible = showArms; mBasePlate.visible = !noBasePlate;