Skip to content

Commit bde34a8

Browse files
committed
Modify smoothing pattern to support multiple digits
3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware, exports .obj files with multiple smoothing groups.
1 parent fc97a16 commit bde34a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/loaders/OBJLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ THREE.OBJLoader.prototype = {
217217

218218
var object_pattern = /^[og]\s+(.+)/;
219219

220-
var smoothing_pattern = /^s\s+([01]|on|off)/;
220+
var smoothing_pattern = /^s\s+(\d+|on|off)/;
221221

222222
//
223223

0 commit comments

Comments
 (0)