SHAPE_POLY_SET: fix empty triangulation bug
This commit is contained in:
parent
dbdf085555
commit
c6a15f1b9b
|
@ -1917,6 +1917,7 @@ void SHAPE_POLY_SET::TRIANGULATED_POLYGON::AllocateVertices( int aSize )
|
|||
void SHAPE_POLY_SET::TRIANGULATED_POLYGON::AllocateTriangles( int aSize )
|
||||
{
|
||||
m_triangles = new TRI[aSize];
|
||||
m_triangleCount = aSize;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue