]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To make compilable
authorapo <apo@opencascade.com>
Wed, 20 Dec 2006 08:07:33 +0000 (08:07 +0000)
committerapo <apo@opencascade.com>
Wed, 20 Dec 2006 08:07:33 +0000 (08:07 +0000)
src/VISUGUI/VisuGUI_Prs3dDlg.cxx

index ad12a031b79dace738ea3994617233366e5e4255..aeec6824e28b20e601d08f5676ff706c902947b1 100644 (file)
@@ -826,7 +826,7 @@ void VisuGUI_ScalarBarPane::createScalarBar()
   if (!check()) return;
   myScalarMapPL = VISU_ScalarMapPL::New();
   if(myScalarMap->GetSpecificPL())
-    myScalarMapPL->ShallowCopy(myScalarMap->GetSpecificPL());
+    myScalarMapPL->ShallowCopy(myScalarMap->GetSpecificPL(), true);
   
   if ( myBusy ) return;