[vtk-developers] Fix bug color into vtkInteractorStyle::HighlightActor2D()

Dave Partyka dave.partyka at kitware.com
Tue Jul 13 09:05:12 EDT 2010


Hi Pierre, Thanks for the patch. I will take a look and have it applied as
soon as I can.

On Tue, Jul 13, 2010 at 7:46 AM, pierre haritchabalet <pharitch at gmail.com>wrote:

> Hello,
>
> I found a bug into vtkInteractorStyle::HighlightActor2D(vtkActor2D
> *actor2D). In fact, the variable this->PickColor is updated just once when
> this->PickedActor2D equals NULL. So if you highlight several cells
> successively, PickColor isn't updated. The cells don't go back to the
> right color when they are deselected.
>
> I join a patch to modify vtkInteractorStyle::HighlightActor2D(vtkActor2D
> *actor2D) to fix the problem.
>
> Pierre Haritchabalet
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100713/3f3b2ef4/attachment.html>


More information about the vtk-developers mailing list