Browse Source

Fix isVisible for GUI3d

David Catuhe 7 years ago
parent
commit
47b834ce9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/src/3D/controls/control3D.ts

+ 1 - 1
gui/src/3D/controls/control3D.ts

@@ -179,7 +179,7 @@ module BABYLON.GUI {
 
             let mesh = this.mesh;
             if (mesh) {
-                mesh.isVisible = value;
+                mesh.setEnabled(value);
             }
         }