提交 f34e1362 编写于 作者: P Peter "Coburn" Fornari 提交者: Mr.doob

Fixed memory leak in OBJLoader for V8 based js engines (#9680)

上级 594f9ad7
......@@ -585,7 +585,7 @@ THREE.OBJLoader.prototype = {
// or
// g group_name
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.
先完成此消息的编辑!
想要评论请 注册