mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 09:40:35 +05:00
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:
parent
76ffafd784
commit
0cce2b323f
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user