assembly: fix workplane command activation

This commit is contained in:
Zheng, Lei 2018-04-19 18:01:12 +08:00
parent fec914d62f
commit 287642d34a

View File

@ -1870,6 +1870,7 @@ class AsmWorkPlane(object):
bbox = shape.BoundBox
pla = utils.getElementPlacement(shape,mat)
else:
shape = None
element = elements[0]
ret = Assembly.find(element[0],element[1],
relativeToChild=False,keepEmptyChild=True)