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