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

Reducing size of 3d Viewport to (0,0) crashes it. #5472

Closed
MichaelBuessemeyer opened this issue May 6, 2021 · 0 comments · Fixed by #5588
Closed

Reducing size of 3d Viewport to (0,0) crashes it. #5472

MichaelBuessemeyer opened this issue May 6, 2021 · 0 comments · Fixed by #5588
Assignees

Comments

@MichaelBuessemeyer
Copy link
Contributor

Context

If you resize the viewports in a way that the 3d viewport has a height and width of 0 (e.g. done by dragging the horizontal splitter to the bottom and the vertical splitter to the right) leads to a strange / broken behaviour of the 3d viewport. The viewport doesn't display anything anymore after resizing the splitters again so that the viewport is visible.
image

Expected Behavior

See the image above. Nothing is displayed anymore and the scalebar says NaN.

Current Behavior

The 3d viewport should behave like expected / recover from that error sta

Steps to Reproduce the bug

  1. Reset to the default layout.
  2. Move the vertical splitter as far to the right as possible.
  3. Move the horizontal splitters as far to the bottom as possible.
  4. Move the splitter back to where they were or reset the layout.
  5. The 3d viewport is broken 💥

~~ Your Environment for bug~~

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

Successfully merging a pull request may close this issue.

2 participants