mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Replace many uses of is_class with derives_from.
This commit is contained in:
parent
3d91a48298
commit
8ef4a43ada
43 changed files with 82 additions and 82 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue