-
Notifications
You must be signed in to change notification settings - Fork 129
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
Blank instrument view with U correction #18959
Conversation
…om/mantidproject/mantid into 18869_u_correction_instrument_view
@@ -162,6 +162,7 @@ void RotationSurface::init() { | |||
udet.u = applyUCorrection(udet.u); | |||
} | |||
} | |||
updateViewRectForUCorrection(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the text need to be indented so much from line 89 to 164? Otherwise it fixes the problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I tried to fix this in the previous PR but the code has detector info changes which I don't think we want in the patch release so I took that commit out.
Works for me. |
|
It appears the start up the instrument view doesn't draw the correct viewport unless a U correction is applied. This appears to have been missed in the original PR, probably because the U correction gets cached in the QSettings.
To test:
Follow the same instructions as in PR #18875.
Fixes #18869 .
Reviewer
Please comment on the following (full description):
Code Review
Functional Tests
Do changes function as described? Add comments below that describe the tests performed?
How do the changes handle unexpected situations, e.g. bad input?
Has the relevant documentation been added/updated?
Is user-facing documentation written in a user-friendly manner?
Has developer documentation been updated if required?
Does everything look good? Comment with the ship it emoji but don't merge. A member of
@mantidproject/gatekeepers
will take care of it.