Skip to content

vtkLegendScaleActor: add Modified() call after updating points

After updating the points of the vtkPoints instance used for the legend, it's necessary to call Modified(). Otherwise, the legend doesn't update its size or position when the window is resized. The LegendScaleActor example exhibits this behavior:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/LegendScaleActor

Merge request reports