소스 검색

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 년 전
부모
커밋
1c18cfe5b1
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);
-}
+}