You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
You can create an inherited scene based on an already opened scene.
This commit is contained in:
@@ -3533,11 +3533,13 @@ Error EditorNode::load_scene(const String& p_scene, bool p_ignore_broken_deps,bo
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for(int i=0;i<editor_data.get_edited_scene_count();i++) {
|
if(!p_set_inherited) {
|
||||||
|
for(int i=0;i<editor_data.get_edited_scene_count();i++) {
|
||||||
|
|
||||||
if (editor_data.get_scene_path(i)==p_scene) {
|
if (editor_data.get_scene_path(i)==p_scene) {
|
||||||
_scene_tab_changed(i);
|
_scene_tab_changed(i);
|
||||||
return OK;
|
return OK;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user