Make conversions from LocalVector to Vector explicit.

This commit is contained in:
Lukas Tenbrink
2025-06-13 00:38:06 +02:00
parent 6efa557e9b
commit abe3b481ae
19 changed files with 52 additions and 52 deletions

View File

@@ -564,7 +564,7 @@ Ref<ConvexPolygonShape3D> Mesh::create_convex_shape(bool p_clean, bool p_simplif
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.");