1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Add StaticBody collision generation for all selected MeshInstance nodes

This commit is contained in:
Franklin Sobrinho
2015-11-22 20:08:50 -03:00
parent bcf4aded9a
commit 354bc0385b
2 changed files with 77 additions and 74 deletions

View File

@@ -23,24 +23,19 @@ class MeshInstanceEditor : public Node {
MENU_OPTION_CREATE_OUTLINE_MESH,
};
MeshInstance *node;
MenuButton *options;
ConfirmationDialog *outline_dialog;
SpinBox *outline_size;
AcceptDialog *err_dialog;
Panel *panel;
MeshInstance *node;
LineEdit *surface_source;
LineEdit *mesh_source;
void _menu_option(int p_option);
void _create_outline_mesh();
friend class MeshInstanceEditorPlugin;
MenuButton * options;
protected:
void _node_removed(Node *p_node);