From: rnc Date: Thu, 30 Aug 2012 14:23:52 +0000 (+0000) Subject: EDF 1457 : Fixed a bug in enforced vertices. A map was not cleared in the right place. X-Git-Tag: V6_6_0a1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=11a582db03d938ebe24fc971fe699adc8d705086;p=plugins%2Fblsurfplugin.git EDF 1457 : Fixed a bug in enforced vertices. A map was not cleared in the right place. --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 0c4060a..c1835d8 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -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();