]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
EDF 1457 : Fixed a bug in enforced vertices. A map was not cleared in the right place.
authorrnc <rnc@opencascade.com>
Thu, 30 Aug 2012 14:23:52 +0000 (14:23 +0000)
committerrnc <rnc@opencascade.com>
Thu, 30 Aug 2012 14:23:52 +0000 (14:23 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 0c4060aa44db7de4502e6dd1759d3632e780a762..c1835d817741efa75f7d461559966de1f45db770 100644 (file)
@@ -689,6 +689,10 @@ void BLSURFPlugin_BLSURF::SetParameters(
                                         bool *                  use_precad
                                        )
 {
+  // rnc : Bug 1457
+  // Clear map so that it is not stored in the algorithm with old enforced vertices in it
+  EnfVertexCoords2EnfVertexList.clear();
+  
   int    _topology      = BLSURFPlugin_Hypothesis::GetDefaultTopology();
   int    _physicalMesh  = BLSURFPlugin_Hypothesis::GetDefaultPhysicalMesh();
   double _phySize       = BLSURFPlugin_Hypothesis::GetDefaultPhySize();