mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
Fix regression of doc/salome/examples/transforming_meshes_ex11.py
This commit is contained in:
parent
2ffe4e63a8
commit
47e876676d
@ -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();
|
||||
for ( size_t i = 0; i <= aSeq.size(); i++ )
|
||||
for ( size_t i = 0; i < aSeq.size(); i++ )
|
||||
groupDS->SMDSGroup().Add( aSeq[i] );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user