solver: do not raise error when no assembly is found
This commit is contained in:
parent
4b1a3b9de6
commit
939f571aa8
|
@ -283,7 +283,8 @@ def _solve(objs=None,recursive=None,reportFailed=True,
|
|||
assemblies.append(obj)
|
||||
|
||||
if not assemblies:
|
||||
raise RuntimeError('no assembly found')
|
||||
logger.info('no assembly found')
|
||||
return True
|
||||
|
||||
if recursive:
|
||||
# Get all dependent object, including external ones, and return as a
|
||||
|
|
Loading…
Reference in New Issue
Block a user