Group.length now returns the number of children in the Group regardless of their exists/alive state, or 0 if the Group is has no children.

This commit is contained in:
photonstorm
2013-12-05 09:14:49 +00:00
parent eb3d8241ca
commit cd314cd03e
3 changed files with 14 additions and 21 deletions
-11
View File
@@ -374,9 +374,6 @@ PIXI.DisplayObject.prototype.addFilter = function(data)
//this.filter = true;
// data[0].target = this;
console.log('addFilter');
console.log(data);
// insert a filter block..
// TODO Onject pool thease bad boys..
var start = new PIXI.FilterBlock();
@@ -395,8 +392,6 @@ console.log(data);
start.target = this;
console.log('start', start);
/*
* insert start
*/
@@ -484,13 +479,7 @@ PIXI.DisplayObject.prototype.removeFilter = function(data)
// console.log("YUOIO")
// modify the list..
console.log('DisplayObject removeFilter');
console.log(data);
var startBlock = data.start;
console.log('start', startBlock);
var nextObject = startBlock._iNext;
var previousObject = startBlock._iPrev;