You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Merge pull request #78827 from Rindbee/fix-history-mismatch
Fix history mismatch
This commit is contained in:
@@ -1984,6 +1984,9 @@ void EditorNode::_dialog_action(String p_file) {
|
||||
|
||||
if (scene_idx != -1) {
|
||||
_discard_changes();
|
||||
} else {
|
||||
// Update the path of the edited scene to ensure later do/undo action history matches.
|
||||
editor_data.set_scene_path(editor_data.get_edited_scene(), p_file);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user