1
Polydes - Open Source Toolset Extensions / Re: Data Structures Extension [Beta]
« on: September 10, 2014, 09:18:49 am »
Thanks, I can organize the data in a more appropriate way with this.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
class G2
{
...
private static var count:Int = 0;
public static function drawImage(img:BitmapData, x:Float, y:Float)
{
count++;
if (count > 400) {
return;
}
...
With this the crash and the heavy allocation is gone, however the drawing is also gone... so, on a closer inspection, on line 66 of the same file was: g.graphics.beginBitmapFill(img.clone(), mtx); so i removed the clone() part and it seems to works now, but i'm not sure if i broke something by removing that clone call.