Ver Fonte

Added name property to BufferGeometry.

Mr.doob há 12 anos atrás
pai
commit
e9fea44c6c
1 ficheiros alterados com 2 adições e 0 exclusões
  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.id = THREE.GeometryIdCount ++;
 	this.uuid = THREE.Math.generateUUID();
 	this.uuid = THREE.Math.generateUUID();
 
 
+	this.name = '';
+
 	// attributes
 	// attributes
 
 
 	this.attributes = {};
 	this.attributes = {};