From a03000cc6834a2891afd164460cbff39e47111af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Tr=C3=B6ger?= Date: Thu, 10 Aug 2017 19:48:13 +0200 Subject: [PATCH] Ensure touched features, which override mustExecute(), are recomputed. --- src/App/Document.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App/Document.cpp b/src/App/Document.cpp index b1d854731b..f19b1c1039 100644 --- a/src/App/Document.cpp +++ b/src/App/Document.cpp @@ -2186,8 +2186,8 @@ int Document::recompute() } for (auto objIt = topoSortedObjects.rbegin(); objIt != topoSortedObjects.rend(); ++objIt){ - // ask the object if it should be recomputed - if ((*objIt)->mustExecute() == 1){ + // ask the object if it should be recomputed + if ((*objIt)->isTouched() || (*objIt)->mustExecute() == 1){ objectCount++; if (_recomputeFeature(*objIt)) { // if something happen break execution of recompute