Fix building against 2.0 API
812de22
used a method from the new plugin API in master,
so it failed building.
This commit is contained in:
parent
aac3b9db5c
commit
f06f574735
|
@ -165,7 +165,7 @@ Particles2DEditorPlugin::Particles2DEditorPlugin(EditorNode *p_node) {
|
||||||
undo_redo=editor->get_undo_redo();
|
undo_redo=editor->get_undo_redo();
|
||||||
|
|
||||||
toolbar = memnew( HBoxContainer );
|
toolbar = memnew( HBoxContainer );
|
||||||
add_control_to_container(CONTAINER_CANVAS_EDITOR_MENU, toolbar);
|
CanvasItemEditor::get_singleton()->add_control_to_menu_panel(toolbar);
|
||||||
toolbar->hide();
|
toolbar->hide();
|
||||||
|
|
||||||
toolbar->add_child( memnew( VSeparator ) );
|
toolbar->add_child( memnew( VSeparator ) );
|
||||||
|
|
Loading…
Reference in New Issue