You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix some legacy code
This commit is contained in:
@@ -4412,13 +4412,9 @@ bool ScriptEditorPlugin::handles(Object *p_object) const {
|
||||
void ScriptEditorPlugin::make_visible(bool p_visible) {
|
||||
if (p_visible) {
|
||||
window_wrapper->show();
|
||||
script_editor->set_process(true);
|
||||
script_editor->ensure_select_current();
|
||||
} else {
|
||||
window_wrapper->hide();
|
||||
if (!window_wrapper->get_window_enabled()) {
|
||||
script_editor->set_process(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user