constraint: tolerate empty lock constraint
This commit is contained in:
parent
827d2c0f96
commit
55ba2c2b3c
|
@ -463,7 +463,7 @@ class Constraint(ProxyType):
|
||||||
|
|
||||||
if not found:
|
if not found:
|
||||||
if not firstInfo:
|
if not firstInfo:
|
||||||
return None
|
return ret
|
||||||
if utils.isDraftObject(firstInfo.Part):
|
if utils.isDraftObject(firstInfo.Part):
|
||||||
Locked.lockElement(firstInfo,solver)
|
Locked.lockElement(firstInfo,solver)
|
||||||
logger.debug('lock first draft object {}'.format(
|
logger.debug('lock first draft object {}'.format(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user