Salome HOME
Bug #1098: Create fillet problem
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintMirror.cpp
index 5691e6c7fb2e8ce7ce195bc980c34ba6c0fbedb9..371830c761471fb377899b28a46ab18599913f74 100755 (executable)
@@ -216,6 +216,9 @@ void SketchPlugin_ConstraintMirror::attributeChanged(const std::string& theID)
         if (aFeature)
           aDoc->removeFeature(aFeature);
       }
+      aRefListOfMirrored->clear();
+      std::dynamic_pointer_cast<ModelAPI_AttributeRefList>(
+        data()->attribute(SketchPlugin_Constraint::ENTITY_B()))->clear();
     }
   }
 }