You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #110832 from Ivorforce/is-class-to-derives-from
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