From 36e3cbddf2f6f0885ddc79d9d22627cfc24c4ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 2 Mar 2014 21:00:08 +0100 Subject: [PATCH] Remove inheritance of Item#applyMatrix setting again. Implementation cannot be solved well, since hierarchy is not known at creation time of item. --- src/item/Item.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/item/Item.js b/src/item/Item.js index 35f7e756..0fdd983e 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -1991,16 +1991,10 @@ var Item = Base.extend(Callback, /** @lends Item# */{ } } Base.splice(children, items, index, 0); - var applyMatrix = this._applyMatrix; for (var i = 0, l = items.length; i < l; i++) { var item = items[i]; item._parent = this; item._setProject(this._project, true); - // Only pass on the applyMatrix setting if it's different - // and the child has not its onw setting already. - if (item._applyMatrix ^ applyMatrix - && !item.hasOwnProperty('_applyMatrix')) - item.setApplyMatrix(applyMatrix); // Setting the name again makes sure all name lookup structures // are kept in sync. if (item._name)