Bugfix: max_cubemap_size wasn't being taken into account by lightmap
loading code, only by (now deprecated) background code.
Authored by: klaussfreire 2010-03-13
Parent: [r12714]
Child: [r12716]