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

pierre haritchabalet pharitch at gmail.com
Tue Jul 13 07:46:02 EDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100713/5293bf0d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-bug-color-into-HighlightActor2D.patch
Type: text/x-patch
Size: 1313 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100713/5293bf0d/attachment-0001.bin>


More information about the vtk-developers mailing list