From: ouv Date: Fri, 16 Aug 2013 10:39:58 +0000 (+0000) Subject: Minor fix. X-Git-Tag: BR_hydro_v_0_1~108 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=73b83e26cc87ef15b7787a75b8f3bca90a5d7c1c;p=modules%2Fhydro.git Minor fix. --- diff --git a/src/HYDROGUI/HYDROGUI_TwoImagesOp.cxx b/src/HYDROGUI/HYDROGUI_TwoImagesOp.cxx index dec0f974..38da834f 100644 --- a/src/HYDROGUI/HYDROGUI_TwoImagesOp.cxx +++ b/src/HYDROGUI/HYDROGUI_TwoImagesOp.cxx @@ -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; }