Skip to content

Fixed problem with AutoOrient

When resizing a vtkScalarBarWidget while AutoOrient is enabled, the scalar bar orientation may change while the dimension whose size is changing will not. This is odd behavior that can result in the widget completely collapsing. When that happens, it is not possible to interact with the widget.

Fixed it to track the scalar bar representation's orientation and end the selection action if an orientation change is detected.

Modified TestScalarBarWidget.cxx to test this feature.

Merge request reports

Loading