[vtkusers] Minor Bug in vtkXYPlotActor.cxx

ebeaudoi at ucalgary.ca ebeaudoi at ucalgary.ca
Mon Mar 15 05:21:15 EDT 2010


Hi,

At line 969 of vtkXYPlotActor.cxx (Revision 1.70) (also in release 5.4.2)
there is a bug. The line is
if ( this->XRange[0] >= this->YRange[1] )
but it should be
if ( this->YRange[0] >= this->YRange[1] )

The error is that XRange[0] should be YRange[0] because in this context it
makes no sense to compare X with Y.

Eric Beaudoin




More information about the vtkusers mailing list