diff options
| author | Juan Linietsky | 2017-08-26 10:32:15 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-08-26 10:33:07 -0300 |
| commit | dd7145b778ea4884fd52f5efaf79dc55375c8465 (patch) | |
| tree | f4a3ff305d3bec624dda455701aad40eea1605a8 /editor/plugins/curve_editor_plugin.cpp | |
| parent | f634973acb711432fe50f8072416f30c8f92122b (diff) | |
| download | godot-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.cpp | 2 |
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() { |
