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: Fix clipped view content when rotating view #1031

Merged
merged 1 commit into from
May 6, 2022

Conversation

lassoan
Copy link
Member

@lassoan lassoan commented May 5, 2022

Camera clipping range must be reset after camera motion.

Fixes issue described here: https://discourse.slicer.org/t/extremities-of-a-long-volume-vanishing-when-rotating/23234/10?u=lassoan

Copy link
Member

@pieper pieper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this makes sense. These are high level convenience functions that already adjust the lights so if anyone needs finer control they can just access the camera at a lower level.

@pieper pieper merged commit c97620f into commontk:master May 6, 2022
@lassoan lassoan deleted the fix-clipping-during-rotation branch May 6, 2022 20:19
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.

2 participants