Fix for bug PAL13338 : EDF PAL266 SMESH: no mesh update via Display Only after editing the hypothesis.

This commit is contained in:
mkr 2006-09-25 11:09:26 +00:00
parent ecf147ce97
commit c03ce1302c

View File

@ -1219,7 +1219,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
}
// PAL13338 -->
if ( ( theCommandID==301 || theCommandID==302 ) && !checkLock(aStudy) )
if ( ( theCommandID==301 || theCommandID==302 ) && !checkLock(aStudy) && !automaticUpdate() )
SMESH::UpdateView();
// PAL13338 <--