Revert "Forced hull calculation of parent should now always occur"

This reverts commit c501d0a37c.
This commit is contained in:
Jaime van Kessel 2015-07-15 15:42:56 +02:00
parent c501d0a37c
commit 49cb12bda1

View file

@ -49,12 +49,8 @@ class ConvexHullJob(Job):
self._node.callDecoration("setConvexHullNode", hull_node) self._node.callDecoration("setConvexHullNode", hull_node)
self._node.callDecoration("setConvexHull", hull) self._node.callDecoration("setConvexHull", hull)
self._node.callDecoration("setConvexHullJob", None) self._node.callDecoration("setConvexHullJob", None)
if self._node.getParent().callDecoration("isGroup"): #if self._node.getParent().callDecoration("isGroup"):
if self._node.getParent().callDecoration("getConvexHull"): # if self._node.getParent().callDecoration("getConvexHull"):
job = self._node.getParent().callDecoration("getConvexJob")
if job:
job.cancel()
self._node.getParent().callDecoration("setConvexHull", None) #Force recalculation
# self._node.getParent().callDecoration("getConvexHullNode").setParent(None) # self._node.getParent().callDecoration("getConvexHullNode").setParent(None)
# self._node.getParent().callDecoration("setConvexHull", None) # self._node.getParent().callDecoration("setConvexHull", None)