diff options
| author | Rémi Verschelde | 2016-04-02 23:11:38 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-04-02 23:11:38 +0200 |
| commit | f06f5747355027f63de3c34646cb956346f15cd2 (patch) | |
| tree | 035699a071b89a7ae7f0d5b50c4053c48cbc03ea /tools/editor/plugins/particles_2d_editor_plugin.cpp | |
| parent | aac3b9db5cb3be1155dd46aa588f0ae5cf18ba16 (diff) | |
| download | godot-f06f5747355027f63de3c34646cb956346f15cd2.tar.gz godot-f06f5747355027f63de3c34646cb956346f15cd2.tar.zst godot-f06f5747355027f63de3c34646cb956346f15cd2.zip | |
Fix building against 2.0 API
812de22 used a method from the new plugin API in master,
so it failed building.
Diffstat (limited to 'tools/editor/plugins/particles_2d_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/particles_2d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/particles_2d_editor_plugin.cpp b/tools/editor/plugins/particles_2d_editor_plugin.cpp index 297145f40..81b79afdd 100644 --- a/tools/editor/plugins/particles_2d_editor_plugin.cpp +++ b/tools/editor/plugins/particles_2d_editor_plugin.cpp @@ -165,7 +165,7 @@ Particles2DEditorPlugin::Particles2DEditorPlugin(EditorNode *p_node) { undo_redo=editor->get_undo_redo(); toolbar = memnew( HBoxContainer ); - add_control_to_container(CONTAINER_CANVAS_EDITOR_MENU, toolbar); + CanvasItemEditor::get_singleton()->add_control_to_menu_panel(toolbar); toolbar->hide(); toolbar->add_child( memnew( VSeparator ) ); |
