mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Merge pull request #1215 from eightyeight/naveditor-default-background
Default to background navmesh builds
This commit is contained in:
commit
bd6c331dfc
2 changed files with 12 additions and 0 deletions
|
|
@ -237,6 +237,12 @@ function NavEditorPlugin::readSettings(%this)
|
||||||
NavEditorGui.saveIntermediates = EditorSettings.value("SaveIntermediates");
|
NavEditorGui.saveIntermediates = EditorSettings.value("SaveIntermediates");
|
||||||
NavEditorGui.playSoundWhenDone = EditorSettings.value("PlaySoundWhenDone");
|
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();
|
EditorSettings.endGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -237,6 +237,12 @@ function NavEditorPlugin::readSettings(%this)
|
||||||
NavEditorGui.saveIntermediates = EditorSettings.value("SaveIntermediates");
|
NavEditorGui.saveIntermediates = EditorSettings.value("SaveIntermediates");
|
||||||
NavEditorGui.playSoundWhenDone = EditorSettings.value("PlaySoundWhenDone");
|
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();
|
EditorSettings.endGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue