From 11a582db03d938ebe24fc971fe699adc8d705086 Mon Sep 17 00:00:00 2001 From: rnc Date: Thu, 30 Aug 2012 14:23:52 +0000 Subject: [PATCH] EDF 1457 : Fixed a bug in enforced vertices. A map was not cleared in the right place. --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- 2.39.2