From 69a2fcff4602f312ba3bd14b2757c90ee169b706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 26 Aug 2015 04:28:30 +0200 Subject: [PATCH] Pass on correct matrix in CompoundPath#getPathData(). --- src/path/CompoundPath.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/CompoundPath.js b/src/path/CompoundPath.js index 66a42200..fb285478 100644 --- a/src/path/CompoundPath.js +++ b/src/path/CompoundPath.js @@ -245,7 +245,7 @@ var CompoundPath = PathItem.extend(/** @lends CompoundPath# */{ var child = children[i], mx = child._matrix; paths.push(child.getPathData(_matrix && !mx.isIdentity() - ? _matrix.chain(mx) : mx, _precision)); + ? _matrix.chain(mx) : _matrix, _precision)); } return paths.join(' '); }