PR #4647 added a reason to progress events. Unfortunately this reason is not being propagated properly in loading.ts.
The reason needs to be passed to the new CustomEvent() in loading.ts in order to be accessible in the ModelViewerElement.
Currently we have:
Which should be more like:
this.dispatchEvent(
new CustomEvent('progress', {detail: {totalProgress: progress, reason}}));
Description
PR #4647 added a reason to progress events. Unfortunately this reason is not being propagated properly in
loading.ts
. The reason needs to be passed to the new CustomEvent() in loading.ts in order to be accessible in the ModelViewerElement. Currently we have: Which should be more like:Version
Browser Affected
OS
AR