]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Visualization/OpenGLMeshMapper.hxx
...
[cpPlugins.git] / lib / cpExtensions / Visualization / OpenGLMeshMapper.hxx
index 61a9e1a9066a381cb6158ebde274d2e0edce56e3..ab2fc60d490661cbd645527c70798a8ad937d896 100644 (file)
@@ -131,14 +131,14 @@ RenderPiece( vtkRenderer* aren, vtkActor* act )
   if( this->ColorTextureMap )
   {
     /* TODO
-      if( !this->InternalColorTexture )
-      {
-      this->InternalColorTexture =
-      vtkSmartPointer< vtkOpenGLTexture >::New( );
-      this->InternalColorTexture->RepeatOff( );
-
-      } // fi
-      this->InternalColorTexture->SetInputData( this->ColorTextureMap );
+       if( !this->InternalColorTexture )
+       {
+       this->InternalColorTexture =
+       vtkSmartPointer< vtkOpenGLTexture >::New( );
+       this->InternalColorTexture->RepeatOff( );
+
+       } // fi
+       this->InternalColorTexture->SetInputData( this->ColorTextureMap );
     */
 
     // Keep color from interacting with texture.