correct a small bug found by the EDF developpement team (PN and AT) :

AddVolume in the case of a Tetrahedron.
This commit is contained in:
nadir 2003-12-15 13:15:33 +00:00
parent 76ffafd784
commit 0cce2b323f

View File

@ -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);
}
}