From: eap Date: Mon, 7 Feb 2011 15:08:52 +0000 (+0000) Subject: Regression of test case bugs/P1 X-Git-Tag: StartingPortingMED3~73 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0953f1790ffd9569803302d26650a59f715b4f12;p=modules%2Fsmesh.git Regression of test case bugs/P1 Restore the lost initialization of _nbSegments --- diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index 2b19f938e..2e79fb278 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -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);