diff options
Diffstat (limited to 'editor/plugins/sample_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/sample_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sample_editor_plugin.cpp b/editor/plugins/sample_editor_plugin.cpp index 2dd6de1683..f6f776f670 100644 --- a/editor/plugins/sample_editor_plugin.cpp +++ b/editor/plugins/sample_editor_plugin.cpp @@ -408,7 +408,7 @@ SampleEditor::SampleEditor() { void SampleEditorPlugin::edit(Object *p_object) { - Sample * s = p_object->cast_to<Sample>(); + Sample * s = Object::cast_to<Sample>(p_object); if (!s) return; |