mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-02 11:01:00 +00:00
Merge pull request #1215 from eightyeight/naveditor-default-background
Default to background navmesh builds
This commit is contained in:
commit
bd6c331dfc
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue