road0001 / as3isolib

Automatically exported from code.google.com/p/as3isolib
0 stars 0 forks source link

[fp10]IsoContainer.displayListChildren problem #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This problem only in fp10 as3isolib.

Please checkout the displayerListChildre's getter of IsoContainer class:

                public function get displayListChildren():Array
                {
                        var temp:Array = [];
                        var child:IIsoContainer;

                        for each ( child in displayListChildrenArray )
                                temp.push( child );

                        return temp;
                }

It alway create a new clone of "displayListChildrenArray". So it useless if 
push/splice it. The "displayListChildrenArray" is untouchable from outside.

And in IsoContainer's renderLogic function, if it's not included layout, it 
will be removed from parent's displayListChildren. In fact, this will never 
happen!

Original issue reported on code.google.com by tamt....@gmail.com on 28 Jul 2011 at 7:57