提交 bf8d8f67 编写于 作者: Y yomboprime

SVGLoader: Fix bug with transforms of next neighbours nodes

上级 84de4540
......@@ -120,7 +120,10 @@ THREE.SVGLoader.prototype = {
if ( transform ) {
currentTransform.copy( transformStack.pop() );
transformStack.pop();
if ( transformStack.length > 0 ) currentTransform.copy( transformStack[ transformStack.length - 1 ] );
else currentTransform.identity();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册