Bug #432
improve loading time for traction image
| Status: | Fixed | Start date: | 08/24/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | RoR - General | |||
| Target version: | 0.38 | Estimated time: | 1.00 hour | |
| Operating System: | All | Operating System Bits: | ||
| Votes: | 0 |
Description
it takes so long as it generates the mipmaps first, need to fix:
in PropertyMaps.cpp in pagedgeometry:
//Load image
TexturePtr map = TextureManager::getSingleton().load(fileName, ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME);
to:
//Load image
TexturePtr map = TextureManager::getSingleton().load(fileName, ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, TEX_TYPE_2D, 0);