assembly: fix auto solve
This commit is contained in:
parent
ebd9dd8a68
commit
541b6472ed
|
@ -3573,6 +3573,8 @@ class Assembly(AsmGroup):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def doAutoSolve(cls):
|
def doAutoSolve(cls):
|
||||||
|
if not cls._PendingSolve:
|
||||||
|
return
|
||||||
canSolve = cls.canAutoSolve()
|
canSolve = cls.canAutoSolve()
|
||||||
if cls._Busy or not canSolve:
|
if cls._Busy or not canSolve:
|
||||||
cls._PendingSolve = canSolve
|
cls._PendingSolve = canSolve
|
||||||
|
|
|
@ -349,7 +349,7 @@ def _solve(objs=None,recursive=None,reportFailed=False,
|
||||||
assemblies.append(obj)
|
assemblies.append(obj)
|
||||||
|
|
||||||
if not assemblies:
|
if not assemblies:
|
||||||
logger.info('no assembly found')
|
logger.info('no assembly found', frame=1)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if recursive:
|
if recursive:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user