AltspaceVR / AltspaceSDK

Software Development Kit for AltspaceVR
https://developer.altvr.com/
MIT License
161 stars 73 forks source link

A-Frame: Fix double-load when using sync #188

Closed brianpeiris closed 6 years ago

brianpeiris commented 7 years ago

Replace sync-system with an <altspace-sync> element that derives from ANode. This allows us to block A-Frame from rendering until node.load() is called, which only happens after the sync utility has reloaded the app with a sync instance id in the URL and has established a connection.

stevenvergenz commented 7 years ago

Does A-Frame let you put elements before a-assets? Seems like that is the main thing you want to prevent loading, and I thought it required first-child status.