From 386eddd5ce0810b55d5104315cc5a8b221ce197d Mon Sep 17 00:00:00 2001 From: gdd Date: Fri, 2 Sep 2011 15:04:32 +0000 Subject: [PATCH] Small fixes --- src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx | 16 ++++++++-------- src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx | 2 ++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx index c654daf..c245ea7 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx @@ -685,14 +685,14 @@ void GHS3DPlugin_Hypothesis::ClearEnforcedMeshes() if ((*it)->groupName != "") _groupsToRemove.insert((*it)->groupName); } - _enfNodes.clear(); - _enfEdges.clear(); - _enfTriangles.clear(); - _nodeIDToSizeMap.clear(); - _elementIDToSizeMap.clear(); - _enfMeshList.clear(); - _entryEnfMeshMap.clear(); - NotifySubMeshesHypothesisModification(); + _enfNodes.clear(); + _enfEdges.clear(); + _enfTriangles.clear(); + _nodeIDToSizeMap.clear(); + _elementIDToSizeMap.clear(); + _enfMeshList.clear(); + _entryEnfMeshMap.clear(); + NotifySubMeshesHypothesisModification(); } diff --git a/src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx b/src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx index 75632ea..c76903d 100644 --- a/src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx @@ -1750,6 +1750,8 @@ bool GHS3DPluginGUI_HypothesisCreator::readParamsFromHypo( GHS3DHypothesisData& case SMESH::FACE: myEnfMesh->elementType = 2; break; + default: + break; } // myEnfMesh->elementType = enfMeshes[i].elementType; h_data.myEnforcedMeshes.insert(myEnfMesh); -- 2.39.2