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

New Tree relationship lines disappear when the selected node is significantly out of view #49080

Closed
Calinou opened this issue May 25, 2021 · 1 comment · Fixed by #49085
Closed
Assignees
Milestone

Comments

@Calinou
Copy link
Member

Calinou commented May 25, 2021

Godot version: master Git b6f3814

OS/device including version: Fedora 33, GeForce GTX 1080 (NVIDIA 465.27)

Issue description:

The new Tree relationship lines disappear when the selected node is significantly out of view.

cc @pycbouh

Before scrolling up

image

After scrolling up

image

Steps to reproduce:

  • Create a scene with dozens of nodes.
  • Select a node at the bottom.
  • Scroll up.

Minimal reproduction project: N/A

@Calinou Calinou added this to the 4.0 milestone May 25, 2021
@YuriSizov
Copy link
Contributor

YuriSizov commented May 25, 2021

Well that's unfortunate. This is because the whole line is drawn from the selected item, and I didn't realize we have this kind of optimization to not draw it when out of view. Though maybe not a big deal, as I already do the necessary checks to draw each segment, I think.

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