Keeps the filename when marking scene as unsaved
This commit is contained in:
parent
7579a792be
commit
9ed61a70cc
1 changed files with 0 additions and 1 deletions
|
@ -1420,7 +1420,6 @@ void EditorNode::_mark_unsaved_scenes() {
|
|||
String path = node->get_filename();
|
||||
if (!(path == String() || FileAccess::exists(path))) {
|
||||
|
||||
node->set_filename("");
|
||||
if (i == editor_data.get_edited_scene())
|
||||
set_current_version(-1);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue