Compose: fix bug
This commit is contained in:
parent
033aac9081
commit
1234b8657a
|
@ -81,7 +81,7 @@ class Compose(latticeBaseFeature.LatticeFeature):
|
|||
tool = obj.Tool.Shape
|
||||
if tool.ShapeType != 'Compound':
|
||||
tool = Part.makeCompound([tool])
|
||||
if obj.FlattenBaseHierarchy:
|
||||
if obj.FlattenToolHierarchy:
|
||||
toolChildren = LCE.AllLeaves(tool)
|
||||
else:
|
||||
toolChildren = tool.childShapes()
|
||||
|
|
Loading…
Reference in New Issue
Block a user