mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-22 13:25:36 +05:00
0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D
set correct type of a new group
This commit is contained in:
parent
ff3bbcc0c9
commit
9767e4ad3e
@ -5986,6 +5986,9 @@ SMESH_MeshEditor::generateGroups(const SMESH_SequenceOfElemPtr& nodeGens,
|
||||
// make a SMESH_Groups
|
||||
mesh->AddGroup( newGroupDS );
|
||||
newGroupIDs->push_back( newGroupDS->GetID() );
|
||||
|
||||
// set group type
|
||||
newGroupDS->SetType( newGroupDS->GetElements()->next()->GetType() );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user