Explorar el Código

Fixed bug where last group in OBJ was not added.

Paul Edwards hace 13 años
padre
commit
f48940bfc9
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      examples/js/loaders/OBJLoader.js

+ 3 - 0
examples/js/loaders/OBJLoader.js

@@ -418,6 +418,9 @@ THREE.OBJLoader.prototype = {
 
 		}
 
+		// add the last group
+		meshN( undefined, undefined );
+
 		return group;
 
 	}

粤ICP备19079148号