Salome HOME
correct a small bug found by the EDF developpement team (PN and AT) :
authornadir <nadir>
Mon, 15 Dec 2003 13:15:33 +0000 (13:15 +0000)
committernadir <nadir>
Mon, 15 Dec 2003 13:15:33 +0000 (13:15 +0000)
AddVolume in the case of a Tetrahedron.

src/SMESHDS/SMESHDS_Script.cxx

index f8d3aff..57baf30 100644 (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);
                }
        }