From 1e9b7b9571c53849f0fabb5987f668d327b36694 Mon Sep 17 00:00:00 2001 From: gdd Date: Wed, 18 Feb 2009 14:06:20 +0000 Subject: [PATCH] Notify Mesh modified on delete size map --- src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx index d22a941..58e4a74 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx @@ -357,8 +357,10 @@ std::string BLSURFPlugin_Hypothesis::GetSizeMapEntry(const std::string& entry) void BLSURFPlugin_Hypothesis::ClearEntry(const std::string& entry) { TSizeMap::iterator it = _sizeMap.find( entry ); - if ( it != _sizeMap.end() ) + if ( it != _sizeMap.end() ) { _sizeMap.erase(it); + NotifySubMeshesHypothesisModification(); + } else std::cout<<"No_Such_Entry"<