Explorar o código

Missed important fix on r39 log.

Mr.doob %!s(int64=14) %!d(string=hai) anos
pai
achega
dad4b7efa6
Modificáronse 2 ficheiros con 10 adicións e 9 borrados
  1. 2 1
      README.md
  2. 8 8
      src/core/Edge.js

+ 2 - 1
README.md

@@ -143,8 +143,9 @@ This code creates a camera, then creates a scene, adds a cube on it, creates a &
 
 * Improved WebGLRenderer program cache. ([alteredq](http://github.com/alteredq))
 * Added support for pre-computed edges in loaders and exporters. ([alteredq](http://github.com/alteredq))
-* Added `Sprite` object. ([empaempa](http://github.com/empaempa))
 * Added `Collisions` classes. ([drojdjou](http://github.com/drojdjou))
+* Added `Sprite` object. ([empaempa](http://github.com/empaempa))
+* Fixed `*Loader` issue where Workers were kept alive and next loads were delayed. ([alteredq](http://github.com/alteredq))
 * Added `THREE` namespace to all the classes that missed it. ([mrdoob](http://github.com/mrdoob))
 
 

+ 8 - 8
src/core/Edge.js

@@ -4,11 +4,11 @@
  */
 
 THREE.Edge = function( v1, v2, vi1, vi2 ) {
-	
-	this.vertices = [ v1, v2 ]; 		// vertex references
-	this.vertexIndices = [ vi1, vi2 ];	// vertex indices
-	
-	this.faces = [];					// face references
-	this.faceIndices = [];				// face indices
-	
-};
+
+	this.vertices = [ v1, v2 ]; // vertex references
+	this.vertexIndices = [ vi1, vi2 ]; // vertex indices
+
+	this.faces = []; // face references
+	this.faceIndices = [];	// face indices
+
+};