|
@@ -3183,10 +3183,14 @@ THREE.ColladaLoader.prototype = {
|
|
|
|
|
|
}
|
|
|
|
|
|
- if (hasNode(data.id)) {
|
|
|
- console.warn("Duplicate id ", data.id, "ignoring")
|
|
|
+ if ( hasNode( data.id ) ) {
|
|
|
+
|
|
|
+ console.warn( 'THREE.ColladaLoader: There is already a node with ID %s. Exclude current node from further processing.', data.id );
|
|
|
+
|
|
|
} else {
|
|
|
+
|
|
|
library.nodes[ data.id ] = data;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
return data;
|