2
0
Эх сурвалжийг харах

Merge branch 'master' into dev

Mr.doob 13 жил өмнө
parent
commit
7a2ba17534

+ 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