From: apo Date: Wed, 23 May 2007 09:38:17 +0000 (+0000) Subject: Fix for Bug IPAL16028 X-Git-Tag: V4_0~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a093d8dd6b1461fa7e8241515cf0cb8bc46c04dc;p=modules%2Fvisu.git Fix for Bug IPAL16028 - IOLS. Bad view of the ScalarMap created on groups. --- diff --git a/src/PIPELINE/VISU_ScalarMapPL.cxx b/src/PIPELINE/VISU_ScalarMapPL.cxx index da7a2115..2856a298 100644 --- a/src/PIPELINE/VISU_ScalarMapPL.cxx +++ b/src/PIPELINE/VISU_ScalarMapPL.cxx @@ -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);