]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
Small fixes
authorgdd <gdd>
Fri, 2 Sep 2011 15:04:32 +0000 (15:04 +0000)
committergdd <gdd>
Fri, 2 Sep 2011 15:04:32 +0000 (15:04 +0000)
src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx
src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx

index c654daf1e42ef827f4fed670671860e02ff0aa5f..c245ea7915f6fe65c463a7bfc14268bf246a83d4 100644 (file)
@@ -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();
 }
 
 
index 75632eaa3ea303e2c21a636553b9060065066592..c76903d65ed0c5542462afebad8173fea6e7dc42 100644 (file)
@@ -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);