Browse Source

Editor: presidence screwing up grid showing up

Chris Friesen 12 years ago
parent
commit
a574f99760
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Bin/Data/Scripts/Editor/EditorView.as

+ 1 - 1
Bin/Data/Scripts/Editor/EditorView.as

@@ -87,7 +87,7 @@ class ViewportContext
         viewport = Viewport(editorScene, camera, viewRect);
         index = index_;
         viewportId = viewportId_;
-        camera.viewMask = 0x80000000 + 1 << index; // It's easier to only have 1 gizmo active this viewport is shared with the gizmo
+        camera.viewMask = 0x80000000 + (1 << index); // It's easier to only have 1 gizmo active this viewport is shared with the gizmo
     }
 
     void ResetCamera()