Skip to content

Commit

Permalink
Ensure touched features, which override mustExecute(), are recomputed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ickby committed Aug 10, 2017
1 parent 83a6071 commit 180ff29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App/Document.cpp
Expand Up @@ -2175,8 +2175,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
Expand Down

0 comments on commit 180ff29

Please sign in to comment.