From 2cf2e6bb93cdd6f05b40775c846c39026b63c75b Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 30 Apr 2008 07:47:52 +0000 Subject: [PATCH] Minor changes --- src/PIPELINE/VISU_ElnoMapperHolder.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/PIPELINE/VISU_ElnoMapperHolder.cxx b/src/PIPELINE/VISU_ElnoMapperHolder.cxx index 7e8f5105..44ed7e50 100644 --- a/src/PIPELINE/VISU_ElnoMapperHolder.cxx +++ b/src/PIPELINE/VISU_ElnoMapperHolder.cxx @@ -71,7 +71,7 @@ VISU_ElnoMapperHolder::GetMemorySize(){ void VISU_ElnoMapperHolder::SetUnstructuredGridIDMapper(const VISU::PUnstructuredGridIDMapper& theIDMapper) { - myPolyDataFilter->SetInput(theIDMapper->GetUnstructuredGridOutput()); + myPolyDataFilter->SetInput( theIDMapper->GetUnstructuredGridOutput() ); myUnstructuredGridIDMapper = theIDMapper; SetIDMapper(theIDMapper); } @@ -95,6 +95,9 @@ void VISU_ElnoMapperHolder::OnCreateMapper(){ myElnoMapper = VISU_OpenGLElnoMapper::New(); myElnoMapper->Delete(); + + myElnoMapper->SetInput( myPolyDataFilter->GetOutput() ); + SetMapper(myElnoMapper.GetPointer()); } -- 2.39.2