File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ function applyMaterialInfo( info, material ) {
183183 material . thickness = 1.0 ;
184184 material . iridescence = 0.0 ;
185185 material . iridescenceIOR = 1.0 ;
186- material . iridescenceThicknessRange = [ 0 , 0 ]
186+ material . iridescenceThicknessRange = [ 0 , 0 ] ;
187187
188188 if ( info . specularColor ) material . specularColor . setRGB ( ...info . specularColor ) ;
189189 if ( 'metalness' in info ) material . metalness = info . metalness ;
@@ -197,6 +197,7 @@ function applyMaterialInfo( info, material ) {
197197 material . iridescenceThicknessRange = [ info . thinFilmThickness , info . thinFilmThickness ] ;
198198
199199 }
200+
200201 if ( material . transmission ) {
201202
202203 if ( info . color ) material . attenuationColor . setRGB ( ...info . color ) ;
@@ -208,7 +209,7 @@ function applyMaterialInfo( info, material ) {
208209
209210 }
210211
211- imgEl . src = info . reference [ 0 ] ;
212+ imgEl . src = info . reference [ 0 ] ;
212213
213214}
214215
You can’t perform that action at this time.
0 commit comments