mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #67132 from KoBeWi/This_commit_message_is_auto-generated._Do_not_modify_it-
Add UID support to GDScript files
This commit is contained in:
commit
d3003c48b3
15 changed files with 307 additions and 15 deletions
|
@ -146,6 +146,7 @@ void ScriptTextEditor::set_edited_resource(const Ref<Resource> &p_res) {
|
|||
ERR_FAIL_COND(p_res.is_null());
|
||||
|
||||
script = p_res;
|
||||
script->connect_changed(callable_mp((ScriptEditorBase *)this, &ScriptEditorBase::reload_text));
|
||||
|
||||
code_editor->get_text_editor()->set_text(script->get_source_code());
|
||||
code_editor->get_text_editor()->clear_undo_history();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue