]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Regression of test case bugs/P1
authoreap <eap@opencascade.com>
Mon, 7 Feb 2011 15:08:52 +0000 (15:08 +0000)
committereap <eap@opencascade.com>
Mon, 7 Feb 2011 15:08:52 +0000 (15:08 +0000)
      Restore the lost initialization of _nbSegments

src/SMESH/SMESH_Gen.cxx

index 2b19f938e537716042c6e2a8547090e04e170434..2e79fb278b6c6b63b05e59ad8613da60425905a8 100644 (file)
@@ -58,7 +58,7 @@ SMESH_Gen::SMESH_Gen()
         MESSAGE("SMESH_Gen::SMESH_Gen");
         _localId = 0;
         _hypId = 0;
-        _segmentation = 10;
+        _segmentation = _nbSegments = 10;
         SMDS_Mesh::_meshList.clear();
         MESSAGE(SMDS_Mesh::_meshList.size());
         _counters = new counters(100);