Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_OCCDisplayer.cxx
index 5e41bf552635dd54e81653c303f01ff56e03a0da..de674e8b413e1688fcd0962af2b346c3449ba316 100644 (file)
@@ -294,7 +294,7 @@ void HYDROGUI_OCCDisplayer::Display( const HYDROData_SequenceOfObjects& theObjs,
     }
   } 
   else if ( !aCtx.IsNull() ) { // TODO: determine if this code is necessary (added as a fix for issue# 359)
-    aCtx->UpdateSelected();
+    aCtx->UpdateSelected(true);
   }
 
   UpdateColorScale( aViewer );
@@ -511,14 +511,14 @@ void HYDROGUI_OCCDisplayer::UpdateColorScale( const OCCViewer_Viewer* theViewer
          aCtx->Display( aColorScale, Standard_False );
        }
 
-       aCtx->Update( aColorScale );
+       aCtx->Update( aColorScale, true );
       }
     }
   }
   else
   {
     if ( !aCtx.IsNull() && aCtx->IsDisplayed( aColorScale ) ) {
-      aCtx->Erase( aColorScale );
+      aCtx->Erase( aColorScale, true );
     }
   }