From: apo Date: Wed, 30 Apr 2008 07:47:52 +0000 (+0000) Subject: Minor changes X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2cf2e6bb93cdd6f05b40775c846c39026b63c75b;p=modules%2Fvisu.git Minor changes --- 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()); }