-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Returning conversion warnings in 3DMLoader (#21639)
* extract name and value properties from objects * Extract object userStrings * 3dmLoader: refactor es6 * Remove unnecessary imports. * Store conversion warnings in returned object * Pass worker erros to onError callback * Pass worker erros to onError callback * adding some error catching related to PBR mats * fix bug in texturetype checking * Post warnings to worker * adding taskId in worker * cleanup taskID usage * added class level warnings * printing warnings * fixed bug in .catch * Fix undefined this.warnings * Add onWarning callback * Rewriting onMessage as arrow function * rework warning messages, lightstyle switch * Remove onWarning callback, add warnings to userData * Cleanup comments, etc. * reverted change in example Co-authored-by: Luis Fraguada <fraguada@gmail.com>
- Loading branch information
Showing
1 changed file
with
113 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters