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