Posted on Mar 29, 2009 by
Happy Bird
I just noticed something that may be a problem in the actual code.
In TweensyPluginList.checkOut you can read :
var i : int; var len : int = list.length - 1; var Type : Class;
for(i = 0;i < len; i++) { Type = list[i]; if(item is Type) return pool.checkOut(map[Type]); }
return pool.checkOut(map[list[len]]);
The for loop would be skipping the last item. Am I just tired or is this a problem?
This is in the cs3 original release, cs4 original too. Didint check others
Comment #1
Posted on Mar 29, 2009 by Happy BirdTweensyPluginList.as Line 63
Comment #2
Posted on Apr 9, 2009 by Quick RhinoIt's to reduce length loops the last item is the last fallback so this isn't an issue i.e. return pool.checkOut(map[list[len]]);
Status: Invalid