From 1c18cfe5b134c10fda5df27b80aea9d2197035cf Mon Sep 17 00:00:00 2001 From: saxonschmauderer Date: Sun, 30 Apr 2017 16:39:05 -0400 Subject: [PATCH] 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. --- Templates/Full/game/tools/worldEditor/scripts/EditorGui.ed.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Templates/Full/game/tools/worldEditor/scripts/EditorGui.ed.cs b/Templates/Full/game/tools/worldEditor/scripts/EditorGui.ed.cs index bc1905292..d1f93503a 100644 --- a/Templates/Full/game/tools/worldEditor/scripts/EditorGui.ed.cs +++ b/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); -} \ No newline at end of file +}