]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Minor changes
authorapo <apo@opencascade.com>
Wed, 30 Apr 2008 07:47:52 +0000 (07:47 +0000)
committerapo <apo@opencascade.com>
Wed, 30 Apr 2008 07:47:52 +0000 (07:47 +0000)
src/PIPELINE/VISU_ElnoMapperHolder.cxx

index 7e8f51055d76d0eea3c4ac17a4bfbc286b0a2fc1..44ed7e50e79347ca399985b89b8eb6a5f3863d82 100644 (file)
@@ -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());
 }