{
for( Standard_Integer anIndex = 1, aLength = aSeq.Length(); anIndex <= aLength; anIndex++ )
{
- Handle(HYDROData_Object) anObject = aSeq.Value( anIndex );
+ Handle(HYDROData_Entity) anObject = aSeq.Value( anIndex );
if( !anObject.IsNull() )
{
aFullSeq.Append( anObject );
startDocOperation();
for( Standard_Integer anIndex = 1, aLength = aFullSeq.Length(); anIndex <= aLength; anIndex++ )
{
- Handle(HYDROData_Object) anObject = aFullSeq.Value( anIndex );
+ Handle(HYDROData_Entity) anObject = aFullSeq.Value( anIndex );
if( !anObject.IsNull() && !anObject->IsRemoved() )
anObject->Remove();
}
commitDocOperation();
- module()->update( UF_Model | UF_Viewer );
+ module()->update( UF_Model | UF_Viewer | UF_OCCViewer );
commit();
}