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