7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-04 23:05:30 +00:00

Fix typo in triangulation return

This commit is contained in:
Seth Hillbrand 2024-03-22 11:08:38 -07:00
parent 00d108498f
commit a793fa8b17

View File

@ -578,7 +578,7 @@ private:
* At this point, our polygon should be fully tessellated.
*/
if( aPoint->prev != aPoint->next )
return std::abs( aPoint->area() > ADVANCED_CFG::GetCfg().m_TriangulateMinimumArea );
return std::abs( aPoint->area() ) > ADVANCED_CFG::GetCfg().m_TriangulateMinimumArea;
return true;
}