Преглед изворни кода

Fix missing name copy in BufferAttribute.copy

Takahiro пре 7 година
родитељ
комит
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;