From 0cce2b323f949a66f8ae4a557fc790fc850a5c1a Mon Sep 17 00:00:00 2001 From: nadir Date: Mon, 15 Dec 2003 13:15:33 +0000 Subject: [PATCH] correct a small bug found by the EDF developpement team (PN and AT) : AddVolume in the case of a Tetrahedron. --- src/SMESHDS/SMESHDS_Script.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.30.2