mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
transformations will always be defined at this point of the code.
This commit is contained in:
parent
eb29e72195
commit
92331a62c3
1 changed files with 0 additions and 2 deletions
|
@ -3522,8 +3522,6 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
||||||
return;
|
return;
|
||||||
// Only keep track of transformation if told so. See Project#draw()
|
// Only keep track of transformation if told so. See Project#draw()
|
||||||
if (trackTransforms) {
|
if (trackTransforms) {
|
||||||
if (!transforms)
|
|
||||||
transforms = param.transforms = [];
|
|
||||||
transforms.push(this._globalMatrix = globalMatrix);
|
transforms.push(this._globalMatrix = globalMatrix);
|
||||||
// We also keep the cached _globalMatrix versioned.
|
// We also keep the cached _globalMatrix versioned.
|
||||||
globalMatrix._updateVersion = updateVersion;
|
globalMatrix._updateVersion = updateVersion;
|
||||||
|
|
Loading…
Reference in a new issue