diff options
Diffstat (limited to 'editor/plugins/sample_player_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/sample_player_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sample_player_editor_plugin.cpp b/editor/plugins/sample_player_editor_plugin.cpp index ea9b646a9b..821c7ecc01 100644 --- a/editor/plugins/sample_player_editor_plugin.cpp +++ b/editor/plugins/sample_player_editor_plugin.cpp @@ -152,7 +152,7 @@ SamplePlayerEditor::SamplePlayerEditor() { void SamplePlayerEditorPlugin::edit(Object *p_object) { - sample_player_editor->edit(p_object->cast_to<Node>()); + sample_player_editor->edit(Object::cast_to<Node>(p_object)); } bool SamplePlayerEditorPlugin::handles(Object *p_object) const { |