mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Revert "Add UID support to GDScript files"
This reverts commit c7f68a27ec
.
We still think GDScript files need UIDs to allow safe refactoring,
but we're still debating what form those should take exactly.
So far there seems to be agreement that it shouldn't be done via an
annotation as implemented here, so we're reverting this one for now,
to revisit the feature in a future PR.
This commit is contained in:
parent
fa48a51183
commit
745f8e112f
15 changed files with 15 additions and 307 deletions
|
@ -146,7 +146,6 @@ 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