Skip to content

Commit

Permalink
Merge pull request mrdoob#1 from aptray/ilex0208-patch-1
Browse files Browse the repository at this point in the history
Update FBXLoader.js
  • Loading branch information
ilex0208 authored Nov 13, 2020
2 parents 40c5084 + 5f9dcff commit 8f08e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/js/loaders/FBXLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ THREE.FBXLoader = ( function () {

parameters.color = new THREE.Color().fromArray( materialNode.Diffuse.value );

} else if ( (materialNode.DiffuseColor && (materialNode.DiffuseColor.type === 'Color' || materialNode.DiffuseColor.type === 'ColorRGB') ) {
} else if ( materialNode.DiffuseColor && (materialNode.DiffuseColor.type === 'Color' || materialNode.DiffuseColor.type === 'ColorRGB') ) {

// The blender exporter exports diffuse here instead of in materialNode.Diffuse
parameters.color = new THREE.Color().fromArray( materialNode.DiffuseColor.value );
Expand Down

0 comments on commit 8f08e4e

Please sign in to comment.