]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Minor fix.
authorouv <ouv@opencascade.com>
Fri, 16 Aug 2013 10:39:58 +0000 (10:39 +0000)
committerouv <ouv@opencascade.com>
Fri, 16 Aug 2013 10:39:58 +0000 (10:39 +0000)
src/HYDROGUI/HYDROGUI_TwoImagesOp.cxx

index dec0f974cc981af478bad21c80a2c52555d5fc29..38da834fa3d50f83e4e9396c5a3b44969643406d 100644 (file)
@@ -118,6 +118,10 @@ bool HYDROGUI_TwoImagesOp::processApply( int& theUpdateFlags,
   aResult->AppendReference( anImage2 );
   aFactory->UpdateImage( doc(), aResult );
 
+  anImage1->SetVisibility( false );
+  anImage2->SetVisibility( false );
+  aResult->SetVisibility( true );
+
   theUpdateFlags = UF_Model | UF_Viewer;
   return true;
 }