فهرست منبع

Fix missing name copy in BufferAttribute.copy

Takahiro 8 سال پیش
والد
کامیت
03f74c4dca
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/core/BufferAttribute.js

+ 1 - 0
src/core/BufferAttribute.js

@@ -68,6 +68,7 @@ Object.assign( BufferAttribute.prototype, {
 
 	copy: function ( source ) {
 
+		this.name = source.name;
 		this.array = new source.array.constructor( source.array );
 		this.itemSize = source.itemSize;
 		this.count = source.count;

粤ICP备19079148号