1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

-ability to change scripts in external editor and still have properties reloaded in godot UI, fixes #3003

This commit is contained in:
Juan Linietsky
2015-12-09 09:08:41 -03:00
parent 708ff381d6
commit 6bc6b8fcf2
7 changed files with 119 additions and 21 deletions

View File

@@ -3399,6 +3399,8 @@ void EditorNode::_set_main_scene_state(Dictionary p_state) {
//changing_scene=true; //avoid script change from opening editor
ScriptEditor::get_singleton()->get_debugger()->update_live_edit_root();
ScriptEditor::get_singleton()->set_scene_root_script( editor_data.get_scene_root_script(editor_data.get_edited_scene()) );
editor_data.notify_edited_scene_changed();
//changing_scene=false;
}