From: mkr Date: Mon, 25 Sep 2006 09:01:06 +0000 (+0000) Subject: Fix for bug PAL13338 : EDF PAL266 SMESH: no mesh update via Display Only after editin... X-Git-Tag: V3_2_3pre1~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ecf147ce9739524989942483454f7fd999c07106;p=modules%2Fsmesh.git Fix for bug PAL13338 : EDF PAL266 SMESH: no mesh update via Display Only after editing the hypothesis. --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 8fb5c12c2..22cd34e01 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -1217,6 +1217,11 @@ bool SMESHGUI::OnGUIEvent( int theCommandID ) } } } + + // PAL13338 --> + if ( ( theCommandID==301 || theCommandID==302 ) && !checkLock(aStudy) ) + SMESH::UpdateView(); + // PAL13338 <-- if (anAction == SMESH::eErase) { SALOME_ListIO l1; @@ -1224,6 +1229,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID ) } else aSel->setSelectedObjects( to_process ); + break; }