Salome HOME
Merge from V6_4_BR 05/12/2011
[modules/visu.git] / src / VISU_SWIG / VISU_Gen_s.cc
index 7055cb62d08e09fcf0368714f459b6b81fd04b74..c4f8b25879279f161a771a76b0cb59e94509293c 100644 (file)
@@ -84,7 +84,7 @@ void View3D::Display(ScalarMap* theScalarMap){
   if(VISU_ScalarMapPL* aScalarMap = theScalarMap->GetImpl()){
     aScalarMap->Update();
     
-    myRen->RemoveAllProps();
+    myRen->RemoveAllViewProps();
     vtkActor* anActor = vtkActor::New();
     anActor->SetMapper(aScalarMap->GetMapper());