[vtk-developers] Regression of vtkLegendBoxActor

David Gobbi david.gobbi at gmail.com
Tue Oct 19 13:16:26 EDT 2010


Hi Aashish,

Some of the dashboard tests are failing due to changes to line 796 of
Hybrid/vtkLegendBoxActor.cxx:

    posX = p1[0] + this->Padding +
                 0.25*symbolSize*(p2[0] - p1[0] - 2.0*this->Padding);

If the "0.25" is changed back to "0.5", then the tests pass.  I don't
know if that is the correct fix, though.

There also seems to be an error at line 917:

      if( this->Icon[i])
        {
        renderedSomething += this->IconActor[i]->RenderOpaqueGeometry(viewport);
        }

I'm guessing that this should be "if( this->IconImage[i] )" instead of
"this->Icon[i]".

  David



More information about the vtk-developers mailing list