Pass on correct matrix in CompoundPath#getPathData().

This commit is contained in:
Jürg Lehni 2015-08-26 04:28:30 +02:00
parent 3137843831
commit 69a2fcff46

View file

@ -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(' ');
}