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