[vtkusers] Bug in vtkContextInteractorStyle?

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


On Mon, Dec 22, 2014 at 12:54 PM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> 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,

http://review.source.kitware.com/#/t/5213

Sorry, GMail is overly eager when I tried to paste the URL...

Thanks,

Marcus


More information about the vtkusers mailing list