浏览代码

SEA3DLoader: Added name to morphAttributes

Mugen87 8 年之前
父节点
当前提交
569ac00546
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      examples/js/loaders/sea3d/SEA3DLoader.js

+ 1 - 0
examples/js/loaders/sea3d/SEA3DLoader.js

@@ -2876,6 +2876,7 @@ THREE.SEA3D.prototype.readMorpher = function ( sea ) {
 		var node = sea.node[ i ];
 
 		attribs.position[ i ] = new THREE.Float32BufferAttribute( node.vertex, 3 );
+		attribs.position[ i ].name = node.name;
 
 		if ( node.normal ) {