Fixed another initialisation issue - depending on how the dressup is created.
This commit is contained in:
parent
8efbe9e645
commit
556e25e47f
|
@ -586,9 +586,11 @@ class ObjectDressup:
|
||||||
self.tags = self.pathData.generateTags(obj, count, obj.Width, obj.Height, obj.Angle, None)
|
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.Positions = [tag.originAt(0) for tag in self.tags]
|
||||||
obj.Disabled = []
|
obj.Disabled = []
|
||||||
|
return False
|
||||||
else:
|
else:
|
||||||
self.setup(obj, count)
|
self.setup(obj, count)
|
||||||
self.execute(obj)
|
self.execute(obj)
|
||||||
|
return True
|
||||||
|
|
||||||
def isValidTagStartIntersection(self, edge, i):
|
def isValidTagStartIntersection(self, edge, i):
|
||||||
if PathGeom.pointsCoincide(i, edge.valueAt(edge.LastParameter)):
|
if PathGeom.pointsCoincide(i, edge.valueAt(edge.LastParameter)):
|
||||||
|
@ -847,7 +849,8 @@ class TaskPanel:
|
||||||
self.cleanupUI()
|
self.cleanupUI()
|
||||||
|
|
||||||
count = self.form.sbCount.value()
|
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()
|
self.updateTagsView()
|
||||||
#if debugDressup:
|
#if debugDressup:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user