diff --git a/src/item/Group.js b/src/item/Group.js index 01e35900..695d218c 100644 --- a/src/item/Group.js +++ b/src/item/Group.js @@ -99,11 +99,6 @@ var Group = Item.extend(/** @lends Group# */{ _changed: function _changed(flags) { _changed.base.call(this, flags); - if (flags & /*#=*/ ChangeFlag.HIERARCHY && this._transformContent - && !this._matrix.isIdentity()) { - // Apply matrix now that we have content. - this.applyMatrix(); - } if (flags & (/*#=*/ ChangeFlag.HIERARCHY | /*#=*/ ChangeFlag.CLIPPING)) { // Clear cached clip item whenever hierarchy changes this._clipItem = undefined; diff --git a/src/item/Item.js b/src/item/Item.js index 2611d466..65c5519e 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -2774,8 +2774,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{ _applyMatrix: function(matrix, applyMatrix) { var children = this._children; - - if (children && children.length > 0) { + if (children) { for (var i = 0, l = children.length; i < l; i++) children[i].transform(matrix, applyMatrix); return true;