Преглед на файлове

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 = {};