From f4334237897508744129b06a504d7dff8ee74b00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 18 Jun 2013 15:39:46 -0700 Subject: [PATCH] Respect _applyMatrix setting when calling #applyMatrix() in Group#_changed. Required for Clip to work correctly. --- src/item/Group.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/item/Group.js b/src/item/Group.js index 805c3a0c..eaff646b 100644 --- a/src/item/Group.js +++ b/src/item/Group.js @@ -98,7 +98,8 @@ var Group = Item.extend(/** @lends Group# */{ _changed: function _changed(flags) { _changed.base.call(this, flags); - if (flags & /*#=*/ ChangeFlag.HIERARCHY && !this._matrix.isIdentity()) { + if (flags & /*#=*/ ChangeFlag.HIERARCHY && this._applyMatrix + && !this._matrix.isIdentity()) { // Apply matrix now that we have content. this.applyMatrix(); }