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

When hovering a 3D view in the presence of images, fix previously incorrect depth shown in 2D view #2009

Merged

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Apr 30, 2023

Small but annoying issue I noticed while working on #2008, somewhat related to #1818

Before:
image

After:
image

What

Checklist

PR Build Summary: https://build.rerun.io/pr/2009

@Wumpf Wumpf added 🪳 bug Something isn't working 📺 re_viewer affects re_viewer itself labels Apr 30, 2023
@emilk emilk changed the title Fix displaying image plane depth instead of object depth when showing depth from 3D in 2D view When hovering a 2D view, show depth from the hit 3D object, if any May 2, 2023
Copy link
Member

@emilk emilk left a comment

Choose a reason for hiding this comment

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

Please check that the new PR title still makes sense to you

@Wumpf
Copy link
Member Author

Wumpf commented May 2, 2023

Hmm no, it is the 3D view that is hovered and the 2D view that gets the depth shown. Doesn't get accross on the screenshots since they don't show the mouse cursor, but it is in fact mousing the 3D view

@Wumpf Wumpf changed the title When hovering a 2D view, show depth from the hit 3D object, if any When hovering a 3D view, fix depth shown in 2D view in the presence of images May 2, 2023
@Wumpf Wumpf changed the title When hovering a 3D view, fix depth shown in 2D view in the presence of images When hovering a 3D view in the presence of images, fix previously incorreect depth shown in 2D view May 2, 2023
@Wumpf Wumpf changed the title When hovering a 3D view in the presence of images, fix previously incorreect depth shown in 2D view When hovering a 3D view in the presence of images, fix previously incorrect depth shown in 2D view May 2, 2023
@Wumpf Wumpf merged commit bb450a9 into main May 2, 2023
17 checks passed
@Wumpf Wumpf deleted the andreas/fix-broken-3d-to-2d-depth-measure-in-presence-of-image branch May 2, 2023 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 📺 re_viewer affects re_viewer itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants