提交 6c7f0007 编写于 作者: M Mr.doob

OBJLoader: Added workaround note.

上级 f34e1362
......@@ -430,7 +430,7 @@ THREE.OBJLoader.prototype = {
text = text.replace( /\r\n/g, '\n' );
}
if ( text.indexOf( '\\\n' ) !== - 1) {
// join lines separated by a line continuation character (\)
......@@ -585,7 +585,10 @@ THREE.OBJLoader.prototype = {
// or
// g group_name
var name = (" " + result[ 0 ].substr( 1 ).trim()).substr(1);
// WORKAROUND: https://bugs.chromium.org/p/v8/issues/detail?id=2869
// var name = result[ 0 ].substr( 1 ).trim();
var name = ( " " + result[ 0 ].substr( 1 ).trim() ).substr( 1 );
state.startObject( name );
} else if ( this.regexp.material_use_pattern.test( line ) ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册