Commit 4be6351
committed
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/LegendScaleActor1 parent ae10fe5 commit 4be6351
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| 402 | + | |
402 | 403 | | |
403 | 404 | | |
404 | 405 | | |
| |||
0 commit comments