From 19ef857d84066bffa95596fcff3a76aec2bac6e3 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Sun, 23 Sep 2018 21:09:34 +0800 Subject: [PATCH] solver: sync core API change Fixes #52 --- solver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solver.py b/solver.py index 82ccb75..a8d6a1b 100644 --- a/solver.py +++ b/solver.py @@ -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):