From 5f9dcffa5f3e360aa1ad5a669c09112eb1c4e959 Mon Sep 17 00:00:00 2001 From: ilex0208 Date: Fri, 13 Nov 2020 11:02:26 +0800 Subject: [PATCH] Update FBXLoader.js Remove the extra brackets --- examples/js/loaders/FBXLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/js/loaders/FBXLoader.js b/examples/js/loaders/FBXLoader.js index 08829f0f7961b3..16b6f8c02c5f96 100644 --- a/examples/js/loaders/FBXLoader.js +++ b/examples/js/loaders/FBXLoader.js @@ -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 );