mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 12:30:32 +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
|
else
|
||||||
{
|
{
|
||||||
com = myCommands.back();
|
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);
|
myCommands.insert(myCommands.end(),com);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user