We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f34e136 commit 6c7f000Copy full SHA for 6c7f000
examples/js/loaders/OBJLoader.js
@@ -430,7 +430,7 @@ THREE.OBJLoader.prototype = {
430
text = text.replace( /\r\n/g, '\n' );
431
432
}
433
-
+
434
if ( text.indexOf( '\\\n' ) !== - 1) {
435
436
// join lines separated by a line continuation character (\)
@@ -585,7 +585,10 @@ THREE.OBJLoader.prototype = {
585
// or
586
// g group_name
587
588
- var name = (" " + result[ 0 ].substr( 1 ).trim()).substr(1);
+ // WORKAROUND: https://bugs.chromium.org/p/v8/issues/detail?id=2869
589
+ // var name = result[ 0 ].substr( 1 ).trim();
590
+ var name = ( " " + result[ 0 ].substr( 1 ).trim() ).substr( 1 );
591
592
state.startObject( name );
593
594
} else if ( this.regexp.material_use_pattern.test( line ) ) {
0 commit comments