mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +05:00
Fix error in FreeEdges_i::GetBorders(). See bug 11894, description item 6.
This commit is contained in:
parent
e55d3a081b
commit
55c24afc42
@ -1086,7 +1086,8 @@ SMESH::FreeEdges::Borders* FreeEdges_i::GetBorders()
|
|||||||
|
|
||||||
long i = 0, iEnd = aBorders.size();
|
long i = 0, iEnd = aBorders.size();
|
||||||
|
|
||||||
SMESH::FreeEdges::Borders_var aResult = new SMESH::FreeEdges::Borders(iEnd);
|
SMESH::FreeEdges::Borders_var aResult = new SMESH::FreeEdges::Borders;
|
||||||
|
aResult->length(iEnd);
|
||||||
|
|
||||||
SMESH::Controls::FreeEdges::TBorders::const_iterator anIter;
|
SMESH::Controls::FreeEdges::TBorders::const_iterator anIter;
|
||||||
for ( anIter = aBorders.begin() ; anIter != aBorders.end(); anIter++, i++ )
|
for ( anIter = aBorders.begin() ; anIter != aBorders.end(); anIter++, i++ )
|
||||||
|
Loading…
Reference in New Issue
Block a user