Browse Source

Merge branch 'master' into dev

Mr.doob 12 years ago
parent
commit
7a2ba17534
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/core/BufferGeometry.js

+ 3 - 1
src/core/BufferGeometry.js

@@ -4,7 +4,9 @@
 
 THREE.BufferGeometry = function () {
 
-	this.id = THREE.GeometryCount ++;
+	THREE.GeometryLibrary.push( this );
+
+	this.id = THREE.GeometryIdCount ++;
 
 	// attributes