mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Fix CSG shape generation with meshes without indices, fixes #23364
This commit is contained in:
parent
34426be9a0
commit
b9dd095275
@ -598,8 +598,8 @@ CSGBrush *CSGMesh::_build_brush() {
|
||||
mw[j / 3] = mat;
|
||||
}
|
||||
} else {
|
||||
int is = vertices.size();
|
||||
int as = avertices.size();
|
||||
int as = vertices.size();
|
||||
int is = avertices.size();
|
||||
|
||||
vertices.resize(as + is);
|
||||
smooth.resize((as + is) / 3);
|
||||
|
Loading…
Reference in New Issue
Block a user