Salome HOME
refs #441: crash in digue construction
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_VTKPrsShapeDriver.cxx
index cb8d03f9fcc2bba77a80d40eef94b1c8b894b27a..b5cb23932e8c1b7122b9e9d90da076cb31fab9a4 100644 (file)
@@ -47,8 +47,6 @@ bool HYDROGUI_VTKPrsShapeDriver::Update( const Handle(HYDROData_Entity)& theObj,
     thePrs = new HYDROGUI_VTKPrsShape( theObj );
 
   HYDROGUI_VTKPrsShape* aPrsShape = (HYDROGUI_VTKPrsShape*)thePrs;
-  // Update global colors table during compute if necessary
-  aPrsShape->setLookupTable( myScalarBar->GetLookupTable() );
   aPrsShape->compute();
 
   return true;