未验证 提交 4869ef02 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #19464 from bergden-resonai/patch-2

Bug fix in toNonIndexed - normalized
......@@ -891,6 +891,7 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy
var array = attribute.array;
var itemSize = attribute.itemSize;
var normalized = attribute.normalized;
var array2 = new array.constructor( indices.length * itemSize );
......@@ -908,7 +909,7 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy
}
return new BufferAttribute( array2, itemSize );
return new BufferAttribute( array2, itemSize, normalized );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册