diff options
author | Juan Linietsky <reduzio@gmail.com> | 2021-08-30 11:30:36 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-30 11:30:36 -0300 |
commit | 6dab6e4136540152558eff0085de1acdea143fd9 (patch) | |
tree | 8f99a2b6042fadf8afde25f0e41c9a69d9651270 /editor/plugins | |
parent | b60a51f0232246be0c8a0544253336e34d346724 (diff) |
Revert " Improve collision generation usability in the new 3D scene import workflow."
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/mesh_instance_3d_editor_plugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/plugins/mesh_instance_3d_editor_plugin.cpp b/editor/plugins/mesh_instance_3d_editor_plugin.cpp index 574d3ef27e..9a2b222f21 100644 --- a/editor/plugins/mesh_instance_3d_editor_plugin.cpp +++ b/editor/plugins/mesh_instance_3d_editor_plugin.cpp @@ -202,8 +202,7 @@ void MeshInstance3DEditor::_menu_option(int p_option) { return; } - Mesh::ConvexDecompositionSettings settings; - Vector<Ref<Shape3D>> shapes = mesh->convex_decompose(settings); + Vector<Ref<Shape3D>> shapes = mesh->convex_decompose(); if (!shapes.size()) { err_dialog->set_text(TTR("Couldn't create any collision shapes.")); |