You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
minor change in scriptEdtiorPlugin ref #28943
This commit is contained in:
@@ -3305,9 +3305,7 @@ void ScriptEditorPlugin::edit(Object *p_object) {
|
|||||||
} else {
|
} else {
|
||||||
script_editor->edit(p_script);
|
script_editor->edit(p_script);
|
||||||
}
|
}
|
||||||
}
|
} else if (Object::cast_to<TextFile>(p_object)) {
|
||||||
|
|
||||||
if (Object::cast_to<TextFile>(p_object)) {
|
|
||||||
script_editor->edit(Object::cast_to<TextFile>(p_object));
|
script_editor->edit(Object::cast_to<TextFile>(p_object));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user