فهرست منبع

Added name property to BufferGeometry.

Mr.doob 12 سال پیش
والد
کامیت
e9fea44c6c
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      src/core/BufferGeometry.js

+ 2 - 0
src/core/BufferGeometry.js

@@ -7,6 +7,8 @@ THREE.BufferGeometry = function () {
 	this.id = THREE.GeometryIdCount ++;
 	this.uuid = THREE.Math.generateUUID();
 
+	this.name = '';
+
 	// attributes
 
 	this.attributes = {};