mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
0022108: EDF 2547 SMESH: Duplicate elements only
Modify UniqueName() to look through all objects (groups, sub-meshes etc) and not only meshes.
This commit is contained in:
parent
4effbfc0dc
commit
251eb76e54
@ -95,6 +95,7 @@ namespace SMESH
|
||||
if ( !p ) p = aStudy->FindComponent( "SMESH" );
|
||||
if ( p ) {
|
||||
_PTR(ChildIterator) iter = aStudy->NewChildIterator( p );
|
||||
iter->InitEx(/*allLevels=*/true);
|
||||
int idx = 0;
|
||||
while( true ) {
|
||||
bool found = false;
|
||||
|
Loading…
Reference in New Issue
Block a user