diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2021-08-30 11:30:55 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-30 11:30:55 -0300 |
| commit | efc87481e45c66b3a18dfe1db82c3289fe2a370d (patch) | |
| tree | 8f99a2b6042fadf8afde25f0e41c9a69d9651270 /editor/plugins/mesh_instance_3d_editor_plugin.cpp | |
| parent | b60a51f0232246be0c8a0544253336e34d346724 (diff) | |
| parent | 6dab6e4136540152558eff0085de1acdea143fd9 (diff) | |
| download | redot-engine-efc87481e45c66b3a18dfe1db82c3289fe2a370d.tar.gz | |
Merge pull request #52254 from godotengine/revert-51985-coll
Revert " Improve collision generation usability in the new 3D scene import workflow."
Diffstat (limited to 'editor/plugins/mesh_instance_3d_editor_plugin.cpp')
| -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.")); |
