From 59855fdaf0c3b6b15fb999968ee723b0881978ca Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Sat, 19 Dec 2015 19:13:16 +0300 Subject: [PATCH] RecomputeLocker: temporarily disable recomputeFeature for c++ objects --- lattice2RecomputeLocker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lattice2RecomputeLocker.py b/lattice2RecomputeLocker.py index 7e79aab..d9c3eeb 100644 --- a/lattice2RecomputeLocker.py +++ b/lattice2RecomputeLocker.py @@ -101,7 +101,11 @@ class LatticeRecomputeLocker: #Python feature - easy! featureToRecompute.Proxy.execute(featureToRecompute) featureToRecompute.purgeTouched() + for docobj in featureToRecompute.InList: + touch(docobj) else: + infoMessage("RecomputeFeature","Selected feature is a C++ feature. Recomputing them with this command was temporarily disabled, because it is known to break dependencies. The command will be frozen, till a reliable way of recomputing c++ feature gets exposed.") + return #non-Py feature. Hard. #overview: FreeCAD will recompute just one feature, if it is the #only one that is touched, and no other features depend on it. So