]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Fix for the bug #65: popup menu does not contain Edit image for Image after split...
authorrkv <rkv@opencascade.com>
Mon, 25 Nov 2013 10:09:17 +0000 (10:09 +0000)
committerrkv <rkv@opencascade.com>
Mon, 25 Nov 2013 10:09:17 +0000 (10:09 +0000)
src/HYDROGUI/HYDROGUI_Module.cxx

index 2e32038f9b523cd00cde71c8f52e68f213105d05..acb420cd17b9569f9791de7ceee5cd5a2fc49a90 100644 (file)
@@ -257,7 +257,7 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient,
         Handle(HYDROData_Image) anImage = Handle(HYDROData_Image)::DownCast( anObject );
         if( !anImage.IsNull() )
         {
-          anIsImportedImage = anImage->HasLocalPoints() && !anImage->IsSelfSplitted();
+          anIsImportedImage = anImage->HasLocalPoints();
           anIsImageHasRefs = anImage->HasReferences();
           if( HYDROData_OperationsFactory* aFactory = HYDROData_OperationsFactory::Factory() )
           {