transformations will always be defined at this point of the code.

This commit is contained in:
Jürg Lehni 2014-03-31 18:13:36 +02:00
parent eb29e72195
commit 92331a62c3

View file

@ -3522,8 +3522,6 @@ var Item = Base.extend(Callback, /** @lends Item# */{
return;
// Only keep track of transformation if told so. See Project#draw()
if (trackTransforms) {
if (!transforms)
transforms = param.transforms = [];
transforms.push(this._globalMatrix = globalMatrix);
// We also keep the cached _globalMatrix versioned.
globalMatrix._updateVersion = updateVersion;