aPolylineName = aPolylineObj->GetName();
aPanel->setBoundary( aPolylineName );
}
+
aSeq = myEditedObject->GetGeometryObjects();
getNamesAndEntries( aSeq, aList, anEntryList );
aPanel->includeGeomObjects( aList );
for ( ; anIter.More(); anIter.Next() )
{
Handle(HYDROData_Entity) anEntity = anIter.Value();
- if ( !HYDROData_Tool::IsGeometryObject( anEntity ) )
- continue;
+ //if ( !HYDROData_Tool::IsGeometryObject( anEntity ) )
+ // continue;
theNames.append( anEntity->GetName() );
theEntries.append( HYDROGUI_DataObject::dataObjectEntry( anEntity ) );
void HYDROGUI_CalculationOp::setAvailableGroups()
{
HYDROGUI_CalculationDlg* aPanel =
- ::qobject_cast<HYDROGUI_CalculationDlg*>( inputPanel() );
+ ::qobject_cast<HYDROGUI_CalculationDlg*>( inputPanel() );
+
+ HYDROData_SequenceOfObjects aSeq = myEditedObject->GetGeometryGroups();
+ QStringList aList, anEntryList;
+ getNamesAndEntries( aSeq, aList, anEntryList );
QStringList aGroupsNames;
aGroupsNames.append( aGroup->GetName() );
}
}
- myEditedObject->RemoveGeometryGroups();
+ if( myEditedObject->IsMustBeUpdated() )
+ myEditedObject->RemoveGeometryGroups();
+
aPanel->setAvailableGroups( aGroupsNames );
+ aPanel->includeGroups( aList );
+
+ bool isUpdated = myEditedObject->IsMustBeUpdated();
}
void HYDROGUI_CalculationOp::onAddGroups()