Skip to content

Fix KHR_mesh_visibility issue with animation pointers#17285

Merged
bghgary merged 3 commits into
BabylonJS:masterfrom
bghgary:visibility-om-fix
Oct 15, 2025
Merged

Fix KHR_mesh_visibility issue with animation pointers#17285
bghgary merged 3 commits into
BabylonJS:masterfrom
bghgary:visibility-om-fix

Conversation

@bghgary

@bghgary bghgary commented Oct 14, 2025

Copy link
Copy Markdown
Contributor

This change fixes an issue with the sample asset for KHR_mesh_visibility not working. I'm not adding a test for this asset yet as this sample asset is not conformant with the extension spec yet.

It also moves the visible properties from AbstractMesh to Node which fixes some issues with how visibility is being handled. The inspector v2 has also been updated to match this change.

Comment thread packages/dev/loaders/src/glTF/2.0/Extensions/KHR_node_visibility.ts
@bjsplat

bjsplat commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

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.

Comment thread packages/dev/loaders/src/glTF/2.0/Extensions/objectModelMapping.ts
@bjsplat

bjsplat commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

@sebavan sebavan enabled auto-merge (squash) October 14, 2025 13:19
@bghgary bghgary marked this pull request as draft October 14, 2025 18:43
auto-merge was automatically disabled October 14, 2025 18:43

Pull request was converted to draft

@bghgary bghgary requested a review from deltakosh October 14, 2025 23:14
@bjsplat

bjsplat commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

@bghgary bghgary requested a review from deltakosh October 15, 2025 20:04
@bghgary bghgary marked this pull request as ready for review October 15, 2025 20:17
@bghgary bghgary enabled auto-merge (squash) October 15, 2025 20:17
@bjsplat

bjsplat commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator

You have made possible changes to the playground.
You can test the snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/17285/merge/

The snapshot playground with the CDN snapshot (only when available):

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/17285/merge/?snapshot=refs/pull/17285/merge

Note that neither Babylon scenes nor textures are uploaded to the snapshot directory, so some playgrounds won't work correctly.

@bjsplat

bjsplat commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator

You have changed file(s) that made possible changes to the sandbox.
You can test the sandbox snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/SANDBOX/refs/pull/17285/merge/

@bjsplat

bjsplat commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator

@bjsplat

bjsplat commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator

@bghgary bghgary merged commit a84d7ba into BabylonJS:master Oct 15, 2025
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants