Salome HOME
correct a small bug found by the EDF developpement team (PN and AT) :
[modules/smesh.git] / 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);
                }
        }