Fix error in #getGlobalMatrix()

This commit is contained in:
Jürg Lehni 2013-12-09 19:33:50 +01:00
parent b7943239eb
commit 642111a7a2

View file

@ -1100,7 +1100,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
if (matrix && matrix._updateVersion !== updateVersion)
matrix = null;
if (!matrix) {
matrix = this._globalMatrix = item._matrix.clone();
matrix = this._globalMatrix = this._matrix.clone();
if (this._parent)
matrix.concatenate(this._parent.getGlobalMatrix());
matrix._updateVersion = updateVersion;