Explorar o código

Fixed bug where last group in OBJ was not added.

Paul Edwards %!s(int64=12) %!d(string=hai) anos
pai
achega
f48940bfc9
Modificáronse 1 ficheiros con 3 adicións e 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;
 
 	}