Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
This commit is contained in:
@@ -751,7 +751,7 @@ void Path3DEditorPlugin::edit(Object *p_object) {
|
||||
}
|
||||
|
||||
bool Path3DEditorPlugin::handles(Object *p_object) const {
|
||||
return p_object->derives_from<Path3D>();
|
||||
return p_object->is_class("Path3D");
|
||||
}
|
||||
|
||||
void Path3DEditorPlugin::make_visible(bool p_visible) {
|
||||
|
||||
Reference in New Issue
Block a user