betajaen / gorilla

Minimal HUD and Overlay replacement system for Ogre 1.x only
60 stars 11 forks source link

Texture Loading Utilizes Group Name #6

Closed ghost closed 12 years ago

ghost commented 12 years ago

Append the group name provided to the TextureAtlas::_load function to the "file" setting when the section is "texture".

Motivation: The _loadTexture function is called without the group name ever being considered. This results in the "General" group always being selected, which in turn results in the Ogre::ResourceGroupManager doing a case sensitive indexing, a case insensitive indexing, and a linear search through the resource locations in the group.