Przeglądaj źródła

Fixed whitespace

James Baicoianu 6 lat temu
rodzic
commit
ccd4a59e9a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      examples/js/loaders/ColladaLoader.js

+ 1 - 1
examples/js/loaders/ColladaLoader.js

@@ -2131,7 +2131,7 @@ THREE.ColladaLoader.prototype = {
 						var semantic = child.getAttribute( 'semantic' );
 						var offset = parseInt( child.getAttribute( 'offset' ) );
 						var set = parseInt( child.getAttribute( 'set' ) );
-						var inputname = (set > 0 ? semantic + set : semantic);
+						var inputname = ( set > 0 ? semantic + set : semantic );
 						primitive.inputs[ inputname ] = { id: id, offset: offset };
 						primitive.stride = Math.max( primitive.stride, offset + 1 );
 						if ( semantic === 'TEXCOORD' ) primitive.hasUV = true;