assembly: fix workplane command activation
This commit is contained in:
parent
fec914d62f
commit
287642d34a
|
@ -1870,6 +1870,7 @@ class AsmWorkPlane(object):
|
||||||
bbox = shape.BoundBox
|
bbox = shape.BoundBox
|
||||||
pla = utils.getElementPlacement(shape,mat)
|
pla = utils.getElementPlacement(shape,mat)
|
||||||
else:
|
else:
|
||||||
|
shape = None
|
||||||
element = elements[0]
|
element = elements[0]
|
||||||
ret = Assembly.find(element[0],element[1],
|
ret = Assembly.find(element[0],element[1],
|
||||||
relativeToChild=False,keepEmptyChild=True)
|
relativeToChild=False,keepEmptyChild=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user