bool anIsFusedImage = false;
bool anIsCutImage = false;
bool anIsSplittedImage = false;
- bool anIsMustBeUpdatedImage = false;
+ bool anIsMustobjectBeUpdated = false;
bool anIsPolyline = false;
bool anIsPolyline3D = false;
bool anIsProfile = false;
anIsVisibleInSelection |= aVisibility;
anIsHiddenInSelection |= !aVisibility;
+ if ( anObject->IsMustBeUpdated() )
+ {
+ anIsMustobjectBeUpdated = true;
+ }
+
ObjectKind anObjectKind = anObject->GetKind();
if( anObjectKind == KIND_IMAGE )
{
anIsSplittedImage = true;
}
}
- if ( anImage->IsMustBeUpdated() )
- {
- anIsMustBeUpdatedImage = true;
- }
}
}
else if( anObjectKind == KIND_POLYLINEXY )
if( anIsSelectedDataObjects )
{
- if ( anIsMustBeUpdatedImage )
+ if ( anIsMustobjectBeUpdated )
{
- theMenu->addAction( action( UpdateImageId ) );
+ theMenu->addAction( action( UpdateObjectId ) );
theMenu->addSeparator();
}
theMenu->addAction( action( EditSplittedImageId ) );
}
- theMenu->addAction( action( ObserveImageId ) );
+ //RKV: BUG#98: theMenu->addAction( action( ObserveImageId ) );
theMenu->addAction( action( ExportImageId ) );
theMenu->addSeparator();
theMenu->addAction( action( SplitImageId ) );
theMenu->addSeparator();
}
+ else if( anIsBathymetry )
+ {
+ theMenu->addAction( action( EditImportedBathymetryId ) );
+ theMenu->addSeparator();
+ }
else if( anIsPolyline )
{
theMenu->addAction( action( EditPolylineId ) );