Browse Source

scale gizmo updateGizmoRotationToMatchAttachedMesh message

Trevor Baron 7 years ago
parent
commit
e9caab0dcc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/Gizmos/babylon.scaleGizmo.ts

+ 3 - 0
src/Gizmos/babylon.scaleGizmo.ts

@@ -55,6 +55,9 @@ module BABYLON {
         }
 
         public set updateGizmoRotationToMatchAttachedMesh(value:boolean){
+            if(!value){
+                Tools.Warn("Setting updateGizmoRotationToMatchAttachedMesh = false on scaling gizmo is not supported.");
+            }
             if(this.xGizmo){
                 this.xGizmo.updateGizmoRotationToMatchAttachedMesh = value;
                 this.yGizmo.updateGizmoRotationToMatchAttachedMesh = value;