Forráskód Böngészése

Fixed bug where last group in OBJ was not added.

Paul Edwards 12 éve
szülő
commit
f48940bfc9
1 módosított fájl, 3 hozzáadás és 0 törlés
  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;
 
 	}