Răsfoiți Sursa

Merge branch 'master' into dev

Mr.doob 13 ani în urmă
părinte
comite
7a2ba17534
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      src/core/BufferGeometry.js

+ 3 - 1
src/core/BufferGeometry.js

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

粤ICP备19079148号