Serialize #applyMatrix before #matrix, because in deserialization its setting will affect how #matrix is read.

Closes #451.
This commit is contained in:
Jürg Lehni 2014-04-09 11:57:25 +02:00
parent 59d0402bf0
commit 61c2b11938

View file

@ -55,6 +55,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
// that can be ommited.
_serializeFields: {
name: null,
applyMatrix: null,
matrix: new Matrix(),
pivot: null,
locked: false,
@ -64,7 +65,6 @@ var Item = Base.extend(Callback, /** @lends Item# */{
guide: false,
selected: false,
clipMask: false,
applyMatrix: null,
data: {}
},