Correct typo leading to infinite recursion.

This commit is contained in:
Remco Burema 2018-09-28 13:07:18 +02:00
parent ef5f9bb0d4
commit a68a591c18

View File

@ -241,7 +241,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
return Polygon() return Polygon()
def _compute2DConvexHeadFull(self) -> Optional[Polygon]: def _compute2DConvexHeadFull(self) -> Optional[Polygon]:
convex_hull = self._compute2DConvexHeadFull() convex_hull = self._compute2DConvexHull()
if convex_hull: if convex_hull:
return convex_hull.getMinkowskiHull(self._getHeadAndFans()) return convex_hull.getMinkowskiHull(self._getHeadAndFans())
return None return None