aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/curve_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-08-26 10:32:15 -0300
committerJuan Linietsky2017-08-26 10:33:07 -0300
commitdd7145b778ea4884fd52f5efaf79dc55375c8465 (patch)
treef4a3ff305d3bec624dda455701aad40eea1605a8 /editor/plugins/curve_editor_plugin.cpp
parentf634973acb711432fe50f8072416f30c8f92122b (diff)
downloadgodot-dd7145b778ea4884fd52f5efaf79dc55375c8465.tar.gz
godot-dd7145b778ea4884fd52f5efaf79dc55375c8465.tar.zst
godot-dd7145b778ea4884fd52f5efaf79dc55375c8465.zip
Diffstat (limited to 'editor/plugins/curve_editor_plugin.cpp')
-rw-r--r--editor/plugins/curve_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/curve_editor_plugin.cpp b/editor/plugins/curve_editor_plugin.cpp
index 5f5097869..da14c77fa 100644
--- a/editor/plugins/curve_editor_plugin.cpp
+++ b/editor/plugins/curve_editor_plugin.cpp
@@ -775,7 +775,7 @@ CurveEditorPlugin::CurveEditorPlugin(EditorNode *p_node) {
_toggle_button = _editor_node->add_bottom_panel_item(get_name(), _view);
_toggle_button->hide();
- get_resource_previewer()->add_preview_generator(memnew(CurvePreviewGenerator));
+ get_editor_interface()->get_resource_previewer()->add_preview_generator(memnew(CurvePreviewGenerator));
}
CurveEditorPlugin::~CurveEditorPlugin() {