Merge pull request #1260 from Webbgaraget/toJSON-currentTransform-bugfix

Moves the resetting of _currentTransform.target inside `if (activeGroup)`-block
This commit is contained in:
Juriy Zaytsev 2014-04-08 17:03:50 -04:00
commit 63ea7b0c34

View file

@ -895,11 +895,12 @@
activeGroup.forEachObject(function(o) {
o.set('active', true);
});
if (this._currentTransform) {
this._currentTransform.target = this.getActiveGroup();
}
}
if (this._currentTransform) {
this._currentTransform.target = this.getActiveGroup();
}
return data;
},