[vtk-developers] vtkActor - BackfaceProperty
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Sun Apr 20 12:40:15 EDT 2008
Thanks for pointing it out. I've committed a fix to the CVS.
Utkarsh
Philipp Hartl wrote:
> 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
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
More information about the vtk-developers
mailing list