]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL16028
authorapo <apo@opencascade.com>
Wed, 23 May 2007 09:38:17 +0000 (09:38 +0000)
committerapo <apo@opencascade.com>
Wed, 23 May 2007 09:38:17 +0000 (09:38 +0000)
 - IOLS. Bad view of the ScalarMap created on groups.

src/PIPELINE/VISU_ScalarMapPL.cxx

index da7a2115660e3fe07e0c08b7255dcc644551dc78..2856a2986bf4c3ae94ed2b869d4ddae999eb4c24 100644 (file)
@@ -87,9 +87,9 @@ VISU_ScalarMapPL
 
   SetSourceGeometry();
 
-  vtkPointSet* aDataSet = myAppendFilter->GetOutput();
+  myMergeFilter->SetGeometry(myAppendFilter->GetOutput());
 
-  myMergeFilter->SetGeometry(aDataSet);
+  vtkDataSet* aDataSet = GetClippedInput();
   myMergeFilter->SetScalars(aDataSet);
   myMergeFilter->SetVectors(aDataSet);