1.10.2: Fixed issue, where scene picker would not prompt about unsaved scene changes
This commit is contained in:
parent
6f657c4a71
commit
a7cb8e885b
3 changed files with 9 additions and 1 deletions
|
|
@ -120,6 +120,9 @@ namespace Module.NavigationTool.Editor.Toolbar
|
|||
{
|
||||
try
|
||||
{
|
||||
if (!EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo())
|
||||
return;
|
||||
|
||||
ScenePickerList.SceneElement scenes = SCENE_LIST.scenes[index];
|
||||
bool isScenePickerSetAsAdditive = ToolbarScenePickerSettings.IsScenePickerSetAsAdditive;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue