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

Revert " Improve collision generation usability in the new 3D scene import workflow."

This commit is contained in:
Juan Linietsky
2021-08-30 11:30:36 -03:00
committed by GitHub
parent b60a51f023
commit 6dab6e4136
12 changed files with 53 additions and 494 deletions

View File

@@ -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."));