|
@@ -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 );
|