]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
A fix to edit operation improve.
authornds <natalia.donis@opencascade.com>
Thu, 6 Nov 2014 09:26:43 +0000 (12:26 +0300)
committernds <natalia.donis@opencascade.com>
Thu, 6 Nov 2014 09:26:43 +0000 (12:26 +0300)
src/PartSet/PartSet_OperationFeatureEdit.cpp

index 1a60197995a8a8c22ae815be93c30790e19f703c..cedba1c9551be28147a4390da5470b9ce2c5eafb 100644 (file)
@@ -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<std::string> anAttributes = aFeatIter->second;
       // perform edit for the feature