From: gdd Date: Fri, 2 Sep 2011 15:04:32 +0000 (+0000) Subject: Small fixes X-Git-Tag: V6_4_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=386eddd5ce0810b55d5104315cc5a8b221ce197d;p=plugins%2Fhybridplugin.git Small fixes --- 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);