mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr.
This commit is contained in:
parent
53cf289f30
commit
867d073b98
51 changed files with 446 additions and 573 deletions
|
|
@ -1257,7 +1257,7 @@ void ScriptEditor::_menu_option(int p_option) {
|
|||
}
|
||||
|
||||
Ref<EditorScript> es = memnew(EditorScript);
|
||||
es->set_script(scr.get_ref_ptr());
|
||||
es->set_script(scr);
|
||||
es->set_editor(EditorNode::get_singleton());
|
||||
|
||||
es->_run();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue