Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.41k forks source link

[bitECS] Media with multiple media sub components show up multiple times in the object sidebar #6406

Closed keianhzo closed 11 months ago

keianhzo commented 11 months ago

Description For spawned media only the root pinnable object should show up in the objects sidebar.

To Reproduce Steps to reproduce the behavior:

  1. Enter a room
  2. Spawn the attached object or any glTF that has multiple media components
  3. See the entry for the spawned object in the object sidebar
  4. See how there are multiple entries for the same object

Expected behavior Only one the root pinnable object should show up on the object side panel

keianhzo commented 11 months ago

Looking at this again, even if it's not aligned with the old loader behavior maybe it's not bad that you can see all the media elements in a media hierarchy...

keianhzo commented 11 months ago

The behavior seems to be correct, all the media elements in the hierarchy should be visible but not be pinnable or deletable, only the root one should. Closing for now.