SHAPE_POLY_SET: fix empty triangulation bug

This commit is contained in:
Tomasz Włostowski 2017-11-29 19:50:16 +01:00
parent dbdf085555
commit c6a15f1b9b
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}