瀏覽代碼

Fix for bug #1975

The change was made to the function that is executed when entering the world editor. The boolean variable for first person shooter was set to true, since the camera always defaults to first person on entering the world editor. On setting this boolean variable to be true, the correct camera setting will always be displayed on entering the world editor. This does not affect other camera labels.
saxonschmauderer 8 年之前
父節點
當前提交
632300740d
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Templates/Full/game/tools/worldEditor/scripts/EditorGui.ed.cs

+ 2 - 1
Templates/Full/game/tools/worldEditor/scripts/EditorGui.ed.cs

@@ -1919,6 +1919,7 @@ function Editor::open(%this)
 
    %this.editorEnabled();
    Canvas.setContent(EditorGui);   
+   $isFirstPersonVar = true;
    EditorGui.syncCameraGui();
 }
 
@@ -2829,4 +2830,4 @@ function EditorDropdownSliderContainer::onMouseDown(%this)
 function EditorDropdownSliderContainer::onRightMouseDown(%this)
 {
    Canvas.popDialog(%this);
-}
+}