diff --git a/Templates/Empty/game/tools/navEditor/main.cs b/Templates/Empty/game/tools/navEditor/main.cs index 0461b6058..2c5841cce 100644 --- a/Templates/Empty/game/tools/navEditor/main.cs +++ b/Templates/Empty/game/tools/navEditor/main.cs @@ -237,6 +237,12 @@ function NavEditorPlugin::readSettings(%this) NavEditorGui.saveIntermediates = EditorSettings.value("SaveIntermediates"); NavEditorGui.playSoundWhenDone = EditorSettings.value("PlaySoundWhenDone"); + // Build in the background by default, unless a preference has been saved. + if (NavEditorGui.backgroundBuild $= "") + { + NavEditorGui.backgroundBuild = true; + } + EditorSettings.endGroup(); } diff --git a/Templates/Full/game/tools/navEditor/main.cs b/Templates/Full/game/tools/navEditor/main.cs index 0461b6058..2c5841cce 100644 --- a/Templates/Full/game/tools/navEditor/main.cs +++ b/Templates/Full/game/tools/navEditor/main.cs @@ -237,6 +237,12 @@ function NavEditorPlugin::readSettings(%this) NavEditorGui.saveIntermediates = EditorSettings.value("SaveIntermediates"); NavEditorGui.playSoundWhenDone = EditorSettings.value("PlaySoundWhenDone"); + // Build in the background by default, unless a preference has been saved. + if (NavEditorGui.backgroundBuild $= "") + { + NavEditorGui.backgroundBuild = true; + } + EditorSettings.endGroup(); }