|
@@ -969,7 +969,7 @@ Vector<Ref<Shape3D>> ImporterMesh::convex_decompose(const Ref<MeshConvexDecompos
|
|
if (found_vertex) {
|
|
if (found_vertex) {
|
|
index = found_vertex->value;
|
|
index = found_vertex->value;
|
|
} else {
|
|
} else {
|
|
- index = ++vertex_count;
|
|
|
|
|
|
+ index = vertex_count++;
|
|
vertex_map[vertex] = index;
|
|
vertex_map[vertex] = index;
|
|
vertex_w[index] = vertex;
|
|
vertex_w[index] = vertex;
|
|
}
|
|
}
|