Skip to content

Commit 8f86f91

Browse files
committed
Formatting.
1 parent 872048e commit 8f86f91

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/pixi/display/DisplayObject.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -412,21 +412,23 @@ Object.defineProperty(PIXI.DisplayObject.prototype, 'filters', {
412412

413413
set: function(value) {
414414

415-
if(value)
415+
if (value)
416416
{
417417
// now put all the passes in one place..
418418
var passes = [];
419+
419420
for (var i = 0; i < value.length; i++)
420421
{
421422
var filterPasses = value[i].passes;
423+
422424
for (var j = 0; j < filterPasses.length; j++)
423425
{
424426
passes.push(filterPasses[j]);
425427
}
426428
}
427429

428430
// TODO change this as it is legacy
429-
this._filterBlock = {target:this, filterPasses:passes};
431+
this._filterBlock = { target: this, filterPasses: passes };
430432
}
431433

432434
this._filters = value;
@@ -755,9 +757,6 @@ PIXI.DisplayObject.prototype._renderCanvas = function(renderSession)
755757
renderSession = renderSession;
756758
};
757759

758-
759-
PIXI.DisplayObject._tempMatrix = new PIXI.Matrix();
760-
761760
/**
762761
* The position of the displayObject on the x axis relative to the local coordinates of the parent.
763762
*

0 commit comments

Comments
 (0)