X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH%2FSMESH_Mesh.cxx;h=67dc0a6bdaf272c7f64dc0e9c081c4605b99b2ea;hb=17b708df4ad486b9c904d2e67ab71ffc45147753;hp=3f3177694d1282c433e05067afed2f10105d1283;hpb=abbf577ef8f9761e05b222283168555ee3013498;p=modules%2Fsmesh.git diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 3f3177694..67dc0a6bd 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -81,22 +81,22 @@ static int MYDEBUG = 0; */ //============================================================================= -SMESH_Mesh::SMESH_Mesh(int theLocalId, - int theStudyId, - SMESH_Gen* theGen, - bool theIsEmbeddedMode, +SMESH_Mesh::SMESH_Mesh(int theLocalId, + int theStudyId, + SMESH_Gen* theGen, + bool theIsEmbeddedMode, SMESHDS_Document* theDocument): _groupId( 0 ) { MESSAGE("SMESH_Mesh::SMESH_Mesh(int localId)"); - _id = theLocalId; - _studyId = theStudyId; - _gen = theGen; - _myDocument = theDocument; - _idDoc = theDocument->NewMesh(theIsEmbeddedMode); - _myMeshDS = theDocument->GetMesh(_idDoc); - _myMeshDS->ShapeToMesh( PseudoShape() ); + _id = theLocalId; + _studyId = theStudyId; + _gen = theGen; + _myDocument = theDocument; + _idDoc = theDocument->NewMesh(theIsEmbeddedMode); + _myMeshDS = theDocument->GetMesh(_idDoc); _isShapeToMesh = false; + _myMeshDS->ShapeToMesh( PseudoShape() ); } //=============================================================================