Skip to content

Commit

Permalink
LDrawLoader: Refactor, cache pre-parsed file contents (#23157)
Browse files Browse the repository at this point in the history
* this.cache -> this.fileCache

* Add in parsed data cache

* small fixes

* material fixes

* Remove FileCache

* Use in order materials from the local scope if possible

* simplify fetchData, ensure fetch errors are caught, throw a real error

* clone result, material simplification

* improve clone result perf

* Fix colors

* simplify cache API
  • Loading branch information
gkjohnson authored Jan 6, 2022
1 parent d6aca18 commit bd23028
Showing 1 changed file with 962 additions and 809 deletions.
Loading

0 comments on commit bd23028

Please sign in to comment.