Skip to content

AxisActor2D: clamp number of labels to VTK_MAX_LABELS

Louis Gombert requested to merge louis.gombert/vtk:axis-actor-fix into master

Prevents an OOB array access in rare situations when using a high enough number of labels and AdjustLabels is active and adjusts the number of labels to a value over VTK_MAX_LABELS. Hard to reproduce for a test in VTK (may be tested in ParaView though)

Merge request reports