From: nadir Date: Mon, 15 Dec 2003 13:15:33 +0000 (+0000) Subject: correct a small bug found by the EDF developpement team (PN and AT) : X-Git-Tag: V1_3_1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0cce2b323f949a66f8ae4a557fc790fc850a5c1a;p=modules%2Fsmesh.git correct a small bug found by the EDF developpement team (PN and AT) : AddVolume in the case of a Tetrahedron. --- diff --git a/src/SMESHDS/SMESHDS_Script.cxx b/src/SMESHDS/SMESHDS_Script.cxx index f8d3aff53..57baf301c 100644 --- a/src/SMESHDS/SMESHDS_Script.cxx +++ b/src/SMESHDS/SMESHDS_Script.cxx @@ -143,9 +143,9 @@ void SMESHDS_Script::AddVolume(int NewID, else { com = myCommands.back(); - if (com->GetType() != SMESHDS_AddQuadrangle) + if (com->GetType() != SMESHDS_AddTetrahedron) { - com = new SMESHDS_Command(SMESHDS_AddQuadrangle); + com = new SMESHDS_Command(SMESHDS_AddTetrahedron); myCommands.insert(myCommands.end(),com); } }