Browse Source

Fixed bug where last group in OBJ was not added.

Paul Edwards 12 năm trước cách đây
mục cha
commit
f48940bfc9
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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;
 
 	}