}
// searching for the next not used reason
aProcessedReasons.insert(aReason);
- aReasons.erase(aReason);
+ // check theFeature is still in the list of modified, because it may be removed sometimes
+ // while updating SketchPlugin_Ellipse
+ if (myModified.find(theFeature) != myModified.end())
+ aReasons.erase(aReason);
+ else
+ break;
}
// restore the modified reasons: they will be used in the update of arguments
if (allSubsUsed) { // restore theFeature in this set
# move ellipse and set coincidence once again
model.begin()
- self.mySketch.move(self.myCenter, 20, 10)
+ self.mySketch.move(self.myMinorStart, 20, 10)
model.do()
self.mySketch.setCoincident(self.myMinorAxis.results()[-1], self.myOrigin.coordinates())
model.do()