Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Re-add range reset on bounds change if range is invalid #789

Merged
merged 1 commit into from
Mar 14, 2018

Conversation

cpinter
Copy link
Member

@cpinter cpinter commented Mar 13, 2018

The setAxesToChartBounds call has recently been removed so that the chart extent is not reset when the transfer function bounds change. This prevented resetting the extent defined by the user when shifting the transfer function. However, if there was no valid extent defined, without this call the chart was not shown at all. By resetting the extent only if it was invalid solves both issues.

The setAxesToChartBounds call has recently been removed so that the chart extent is not reset when the transfer function bounds change. This prevented resetting the extent defined by the user when shifting the transfer function. However, if there was no valid extent defined, without this call the chart was not shown at all. By resetting the extent only if it was invalid solves both issues.
@lassoan
Copy link
Member

lassoan commented Mar 14, 2018

Thank you, looks good to me. Fixes https://issues.slicer.org/view.php?id=4518.

@jcfr jcfr merged commit 550eef7 into commontk:master Mar 14, 2018
@cpinter
Copy link
Member Author

cpinter commented Mar 15, 2018

Thanks for integrating! I set the issue to resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants