You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Replace many uses of is_class with derives_from.
This commit is contained in:
@@ -4651,7 +4651,7 @@ bool ScriptEditorPlugin::handles(Object *p_object) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
return p_object->is_class("Script");
|
||||
return p_object->derives_from<Script>();
|
||||
}
|
||||
|
||||
void ScriptEditorPlugin::make_visible(bool p_visible) {
|
||||
|
||||
Reference in New Issue
Block a user