From c1fc88c6a36b89ebf5fdb0750c1f5cb247a1dbe6 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Mon, 12 Dec 2016 20:53:58 -0800 Subject: [PATCH] Fixed caching issue. --- src/Mod/Path/PathScripts/PathDressupHoldingTags.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathDressupHoldingTags.py b/src/Mod/Path/PathScripts/PathDressupHoldingTags.py index bf7b37f80..2617134b7 100644 --- a/src/Mod/Path/PathScripts/PathDressupHoldingTags.py +++ b/src/Mod/Path/PathScripts/PathDressupHoldingTags.py @@ -348,6 +348,7 @@ class MapWireToTag: class PathData: def __init__(self, obj): + print("PathData(%s)" % obj.Base.Name) self.obj = obj self.wire = PathGeom.wireForPath(obj.Base.Path) self.edges = self.wire.Edges @@ -640,7 +641,7 @@ class ObjectDressup: return self.setup(obj).generateTags(obj, 4) def setup(self, obj): - if False or not hasattr(self, "pathData") or not self.pathData: + if True or not hasattr(self, "pathData") or not self.pathData: try: pathData = PathData(obj) except ValueError: