Skip to content

Commit 4e441e8

Browse files
s-rigaudSamuel Rigaud
andauthored
LDrawLoader: wrong call to parseModel (#30670)
Co-authored-by: Samuel Rigaud <[email protected]>
1 parent 0040bd2 commit 4e441e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/jsm/loaders/LDrawLoader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,7 +1839,7 @@ class LDrawLoader extends Loader {
18391839
this.setMaterials( [] );
18401840

18411841
this.partsCache
1842-
.parseModel( text, this.materialLibrary )
1842+
.parseModel( text )
18431843
.then( group => {
18441844

18451845
this.applyMaterialsToMesh( group, MAIN_COLOUR_CODE, this.materialLibrary, true );
@@ -1857,7 +1857,7 @@ class LDrawLoader extends Loader {
18571857
parse( text, onLoad, onError ) {
18581858

18591859
this.partsCache
1860-
.parseModel( text, this.materialLibrary )
1860+
.parseModel( text )
18611861
.then( group => {
18621862

18631863
this.applyMaterialsToMesh( group, MAIN_COLOUR_CODE, this.materialLibrary, true );

0 commit comments

Comments
 (0)