[vtk-developers] vtkActor - BackfaceProperty
    Philipp Hartl 
    philipp.hartl at bkf.at
       
    Sun Apr 20 12:36:31 EDT 2008
    
    
  
Hello,
I've found a tedious copy&paste error in vtkactor.cxx
void vtkActor::ReleaseGraphicsResources(vtkWindow *win)
{
   vtkRenderWindow *renWin = static_cast<vtkRenderWindow *>(win);
   // pass this information onto the mapper
   if (this->Mapper)
     {
     this->Mapper->ReleaseGraphicsResources(renWin);
     }
   // pass this information onto the texture
   if (this->Texture)
     {
     this->Texture->ReleaseGraphicsResources(renWin);
     }
   // pass this information to the properties
   if (this->Property)
     {
     this->Property->ReleaseGraphicsResources(renWin);
     }
   if (this->BackfaceProperty)
     {
     this->Property->ReleaseGraphicsResources(renWin);
//        ^^^^^^^^
// should be BackfaceProperty
     }
}
Cheers,
Philipp
    
    
More information about the vtk-developers
mailing list