diff options
Diffstat (limited to 'editor/plugins/baked_light_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/baked_light_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/baked_light_editor_plugin.cpp b/editor/plugins/baked_light_editor_plugin.cpp index f973639a67..85058ed108 100644 --- a/editor/plugins/baked_light_editor_plugin.cpp +++ b/editor/plugins/baked_light_editor_plugin.cpp @@ -337,7 +337,7 @@ BakedLightEditor::~BakedLightEditor() { void BakedLightEditorPlugin::edit(Object *p_object) { - baked_light_editor->edit(p_object->cast_to<BakedLightInstance>()); + baked_light_editor->edit(Object::cast_to<BakedLightInstance>(p_object)); } bool BakedLightEditorPlugin::handles(Object *p_object) const { |