mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
-Split EditorPlugin into EditorPlugin and EditorInterface
-Added EditorInterface to EditorScript -Added functions to save the scene to EditorInterface
This commit is contained in:
parent
f634973acb
commit
dd7145b778
7 changed files with 186 additions and 125 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue