From: nds Date: Thu, 6 Nov 2014 09:26:43 +0000 (+0300) Subject: A fix to edit operation improve. X-Git-Tag: V_0.5~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9f99bd85bb4afc7ec31aabd9d1080b2f80720393;p=modules%2Fshaper.git A fix to edit operation improve. --- diff --git a/src/PartSet/PartSet_OperationFeatureEdit.cpp b/src/PartSet/PartSet_OperationFeatureEdit.cpp index 1a6019799..cedba1c95 100644 --- a/src/PartSet/PartSet_OperationFeatureEdit.cpp +++ b/src/PartSet/PartSet_OperationFeatureEdit.cpp @@ -269,8 +269,10 @@ void PartSet_OperationFeatureEdit::mouseMoved(QMouseEvent* theEvent, ModuleBase_ while (aFeatIter != myFeature2Attribute.end()) { FeaturePtr aFeature = aFeatIter->first; // MPV: added condition because it could be external edge of some object, not sketch - if (aFeature && !sketch()->isSub(aFeature)) + if (aFeature && !sketch()->isSub(aFeature)) { + aFeatIter++; continue; + } std::list anAttributes = aFeatIter->second; // perform edit for the feature