2
0
Эх сурвалжийг харах

Editor: presidence screwing up grid showing up

Chris Friesen 12 жил өмнө
parent
commit
a574f99760

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

@@ -87,7 +87,7 @@ class ViewportContext
         viewport = Viewport(editorScene, camera, viewRect);
         viewport = Viewport(editorScene, camera, viewRect);
         index = index_;
         index = index_;
         viewportId = viewportId_;
         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()
     void ResetCamera()