[vtk-developers] Bug in offscreen rendering
Daniel Aguilera
daniel.aguilera at cea.fr
Fri Oct 6 03:45:44 EDT 2006
Hi all,
In the class vtkXOpenGlRenderWindow the method SetSize (int x,int y) begins
with
if ((this->Size[0] != x)|| (this->Size[1] != y))
{
this->Modified();
this->Size[0] = x;
this->Size[1] = y;
}
And then
if(this->OffScreenRendering)
{
this->ResizeOffscreenWindow(x,y)
}
But the method ResizeOffscreenWindow(x,y) begins with a test always true:
...
if ((this->Size[0] != x)|| (this->Size[1] != y))
{
return;
}
So I suggest to suppress this test : this works very well for my
application.
Best regards,
Daniel Aguilera
More information about the vtk-developers
mailing list