suxinde2009 / isgl3d

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

Isgl3dPODImporter buildSceneObjects bug #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In buildSceneObjects method:

static NSArray * acceptedFormats = [NSArray arrayWithObjects:@"png", @"jpg", 
@"jpeg", @"tiff", @"tif", @"gif", @"bmp", @"BMPf", @"ico", @"cur", @"xbm", 
@"pvr", nil];

should not be static, because [NSArray arrayWithObjects:...] is autoreleased 
and so accessing the array in successive buildSceneObjects calls can cause 
crashes 

Original issue reported on code.google.com by pinolala...@gmail.com on 3 May 2011 at 7:44

GoogleCodeExporter commented 8 years ago
Fixed in svn, will be released in v1.2.0

Original comment by stuart.caunt on 3 May 2011 at 8:22