Skip to content

Inspector v2: Scene explorer expand tree for selected item and scroll to it if needed #16784

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

Conversation

ryantrem
Copy link
Member

  • When an entity is selected (for example from the property pane), the scene explorer tree is now expanded to include that item.
  • If the entity was externally selected (not from within scene explorer itself), we scroll to that item to make sure it is visible.
  • Also added the parent link property for Node to further test these changes.

@ryantrem ryantrem requested a review from georginahalpern June 21, 2025 00:16
@bjsplat
Copy link
Collaborator

bjsplat commented Jun 21, 2025

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Jun 21, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Jun 21, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Jun 21, 2025

Georgina added 2 commits June 22, 2025 23:02
@georginahalpern georginahalpern enabled auto-merge (squash) June 23, 2025 03:06
@bjsplat
Copy link
Collaborator

bjsplat commented Jun 23, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Jun 23, 2025

@georginahalpern georginahalpern merged commit 169ecc8 into BabylonJS:master Jun 23, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants