Fix CSG shape generation with meshes without indices, fixes #23364
This commit is contained in:
parent
34426be9a0
commit
b9dd095275
1 changed files with 2 additions and 2 deletions
|
@ -598,8 +598,8 @@ CSGBrush *CSGMesh::_build_brush() {
|
||||||
mw[j / 3] = mat;
|
mw[j / 3] = mat;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
int is = vertices.size();
|
int as = vertices.size();
|
||||||
int as = avertices.size();
|
int is = avertices.size();
|
||||||
|
|
||||||
vertices.resize(as + is);
|
vertices.resize(as + is);
|
||||||
smooth.resize((as + is) / 3);
|
smooth.resize((as + is) / 3);
|
||||||
|
|
Loading…
Reference in a new issue