[vtkusers] Bug in vtkContextInteractorStyle?

Marcus D. Hanwell marcus.hanwell at kitware.com
Mon Dec 22 12:54:22 EST 2014


On Mon, Dec 22, 2014 at 10:07 AM, Maarten Beek via vtkusers
<vtkusers at vtk.org> wrote:
> Hi all,
>
> I happened to be looking at the source of the vtkContextInteractorStyle
> class.
>
> In the OnKeyPress() and OnKeyRelease() functions I see the folowwing:
>
> vtkVector2i position(this->Interactor->GetEventPosition()[0],
>                                 this->Interactor->GetEventPosition()[0]);
>
> which to me looks wrong.
>
> Not sure whether one of the vtk developers has already been made aware of
> this.
>
Thank you for pointing this out, I just submitted a patch to correct
this on Gerrit,


More information about the vtkusers mailing list