mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Fix CSG shape generation with meshes without indices, fixes #23364
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user