1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions

Remove implicit conversions between `LocalVector` and `Vector`
This commit is contained in:
Thaddeus Crews
2025-09-30 11:19:17 -05:00
19 changed files with 52 additions and 52 deletions

View File

@@ -898,7 +898,7 @@ Ref<ConvexPolygonShape3D> ImporterMesh::create_convex_shape(bool p_clean, bool p
Geometry3D::MeshData md;
Error err = ConvexHullComputer::convex_hull(vertices, md);
if (err == OK) {
shape->set_points(md.vertices);
shape->set_points(Vector<Vector3>(md.vertices));
return shape;
} else {
ERR_PRINT("Convex shape cleaning failed, falling back to simpler process.");