Fixed another initialisation issue - depending on how the dressup is created.

This commit is contained in:
Markus Lampert 2017-01-01 19:32:37 -08:00
parent 8efbe9e645
commit 556e25e47f

View File

@ -586,9 +586,11 @@ class ObjectDressup:
self.tags = self.pathData.generateTags(obj, count, obj.Width, obj.Height, obj.Angle, None)
obj.Positions = [tag.originAt(0) for tag in self.tags]
obj.Disabled = []
return False
else:
self.setup(obj, count)
self.execute(obj)
return True
def isValidTagStartIntersection(self, edge, i):
if PathGeom.pointsCoincide(i, edge.valueAt(edge.LastParameter)):
@ -847,7 +849,8 @@ class TaskPanel:
self.cleanupUI()
count = self.form.sbCount.value()
self.obj.Proxy.generateTags(self.obj, count)
if not self.obj.Proxy.generateTags(self.obj, count):
self.obj.Proxy.execute(self.obj)
self.updateTagsView()
#if debugDressup: