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 (from parent 1:
2ffe4e6
)
Fix regression of doc/salome/examples/transforming_meshes_ex11.py
author
eap
<eap@opencascade.com>
Mon, 19 Feb 2018 10:30:58 +0000
(13:30 +0300)
committer
eap
<eap@opencascade.com>
Mon, 19 Feb 2018 10:30:58 +0000
(13:30 +0300)
src/SMESH_I/SMESH_MeshEditor_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_MeshEditor_i.cxx
b/src/SMESH_I/SMESH_MeshEditor_i.cxx
index 72ce66df63446b73c1e25b9bd2a4e4ec1131a007..d7afbed39f5ec69c7c73eefbbf905161daf70672 100644
(file)
--- a/
src/SMESH_I/SMESH_MeshEditor_i.cxx
+++ b/
src/SMESH_I/SMESH_MeshEditor_i.cxx
@@
-5658,7
+5658,7
@@
SMESH_MeshEditor_i::DoubleElements(SMESH::SMESH_IDSource_ptr theElements,
{
SMESHDS_Group* groupDS = static_cast< SMESHDS_Group* >( group_i->GetGroupDS() );
const SMESH_SequenceOfElemPtr& aSeq = getEditor().GetLastCreatedElems();
{
SMESHDS_Group* groupDS = static_cast< SMESHDS_Group* >( group_i->GetGroupDS() );
const SMESH_SequenceOfElemPtr& aSeq = getEditor().GetLastCreatedElems();
- for ( size_t i = 0; i <
=
aSeq.size(); i++ )
+ for ( size_t i = 0; i < aSeq.size(); i++ )
groupDS->SMDSGroup().Add( aSeq[i] );
}
}
groupDS->SMDSGroup().Add( aSeq[i] );
}
}