From adf9a180041bb8ed070b9c2d2faa038724461f49 Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 20 Feb 2009 12:51:31 +0000 Subject: [PATCH] Fix for issue 0020167( EDF VISU 956 : [TUI ] AddMeshOnGroup is not fully taken into account) in 4X version. --- src/PIPELINE/VISU_ScalarMapPL.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/PIPELINE/VISU_ScalarMapPL.cxx b/src/PIPELINE/VISU_ScalarMapPL.cxx index 4b4c1b50..f1b4914f 100644 --- a/src/PIPELINE/VISU_ScalarMapPL.cxx +++ b/src/PIPELINE/VISU_ScalarMapPL.cxx @@ -181,6 +181,12 @@ int VISU_ScalarMapPL ::AddGeometry(vtkDataSet* theGeometry) { + // rnv: to fix issue 0020167 (AddMeshOnGroup is not fully taken into account) + // clear all inpust of the this->myAppendFilter in case if presentation + // constructed on the entire mesh. + if(!IsExternalGeometryUsed()) + ClearGeometry(); + myAppendFilter->AddInput(theGeometry); return GetNumberOfGeometry(); } -- 2.39.2