|
@@ -534,6 +534,7 @@ void EditorData::remove_scene(int p_idx) {
|
|
}
|
|
}
|
|
|
|
|
|
memdelete(edited_scene[p_idx].root);
|
|
memdelete(edited_scene[p_idx].root);
|
|
|
|
+ edited_scene.write[p_idx].root = nullptr;
|
|
}
|
|
}
|
|
|
|
|
|
if (current_edited_scene > p_idx) {
|
|
if (current_edited_scene > p_idx) {
|