]> SALOME platform Git repositories - modules/smesh.git/commitdiff
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 f8d3aff5383a318fedc393807bb191306dfe6f51..57baf301c149f7d5de451b4a0f09fe805e123a0a 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);
                }
        }