Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff3bbcc
)
0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D
author
eap
<eap@opencascade.com>
Tue, 21 Aug 2012 14:26:08 +0000
(14:26 +0000)
committer
eap
<eap@opencascade.com>
Tue, 21 Aug 2012 14:26:08 +0000
(14:26 +0000)
set correct type of a new group
src/SMESH/SMESH_MeshEditor.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_MeshEditor.cxx
b/src/SMESH/SMESH_MeshEditor.cxx
index d9dc4f61f836e760b9645ae33e31eeed217e7905..6364b0f4c71356cc7c3e42507cac0308acb1d489 100644
(file)
--- a/
src/SMESH/SMESH_MeshEditor.cxx
+++ b/
src/SMESH/SMESH_MeshEditor.cxx
@@
-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() );
}
}