[vtkusers] Bug report: vtkRenderWidget.py
David Gobbi
dgobbi at irus.rri.on.ca
Mon Oct 23 09:36:35 EDT 2000
Hi Simon,
These bugs were fixed very soon after the 3.1.2 release (too bad that they
weren't caught _before_ the release...).
- David
On Fri, 20 Oct 2000, Simon Cooke wrote:
> Under python, the class vtkTkRenderWidget appears to contain a small bug (VTK
> 3.1.2 distribution, vtkRenderWidget.py)...
>
> In the member function UpdateRenderer(self,x,y) the transform to local window
> coordinates includes the lines
>
> vx = float(x)/windowX
> vy = (windowY-float(x))/windowY
>
> i.e. the x-value is used for both coordinates!
>
> In the same function the variable self.__RendererFound is not initialised to a
> default value. In combination with the above problem, this was found to give
> an AttributeError exception under some circumstances.
>
> Thanks,
>
> Simon
More information about the vtkusers
mailing list