solver: sync core API change

Fixes 
This commit is contained in:
Zheng, Lei 2018-09-23 21:09:34 +08:00
parent 78904d5b40
commit 19ef857d84

View File

@ -352,7 +352,7 @@ def _solve(objs=None,recursive=None,reportFailed=False,
# TODO: it would be ideal if we can filter out those disabled assemblies
# found during the recursive search. Can't think of an easy way right
# now
objs = FreeCAD.getDependentObjects(assemblies,False,True)
objs = FreeCAD.getDependentObjects(assemblies,1)
assemblies = []
for obj in objs:
if not isTypeOf(obj,Assembly):