if ( anObjName.isEmpty() )
continue;
+ Handle(HYDROData_SplittedEdgesGroup) aSplittedGroup;
if ( !aSplittedEdgesGroupsMap.contains( anObjName ) )
- aSplittedEdgesGroupsMap.insert( anObjName, addNewSplittedGroup() );
+ {
+ aSplittedGroup = addNewSplittedGroup();
+
+ QString aCalcGroupName = GetName() + "_" + anObjName;
+ aSplittedGroup->SetName( aCalcGroupName );
+
+ aSplittedEdgesGroupsMap.insert( anObjName, aSplittedGroup );
+ }
+ else
+ {
+ aSplittedGroup = aSplittedEdgesGroupsMap[ anObjName ];
+ }
- Handle(HYDROData_SplittedEdgesGroup) aSplittedGroup = aSplittedEdgesGroupsMap[ anObjName ];
if ( aSplittedGroup.IsNull() )
continue;