Merge pull request #2987 from neikeq/fix_save_empty
Fix 'Save Scene' doing nothing on new scenes
This commit is contained in:
commit
5b0dcab3e8
|
@ -2042,7 +2042,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
// fallthrough to save_as
|
// fallthrough to save_as
|
||||||
} break;
|
};
|
||||||
case FILE_SAVE_AS_SCENE: {
|
case FILE_SAVE_AS_SCENE: {
|
||||||
|
|
||||||
Node *scene = editor_data.get_edited_scene_root();
|
Node *scene = editor_data.get_edited_scene_root();
|
||||||
|
|
Loading…
Reference in a new issue