mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-11 16:04:00 +00:00
same change but for gbitmap
make sure to use the namespace TSShape
This commit is contained in:
parent
e83bab90d7
commit
3aac9af35e
5 changed files with 32 additions and 27 deletions
|
|
@ -407,9 +407,9 @@ void ColladaShapeLoader::computeBounds(Box3F& bounds)
|
|||
String findTextureExtension(const Torque::Path &texPath)
|
||||
{
|
||||
Torque::Path path(texPath);
|
||||
for(S32 i = 0;i < GBitmap::sRegistrations.size();++i)
|
||||
for(S32 i = 0;i < GBitmap::getBitmapRegistrations().size();++i)
|
||||
{
|
||||
GBitmap::Registration ® = GBitmap::sRegistrations[i];
|
||||
GBitmap::Registration ® = GBitmap::getBitmapRegistrations()[i];
|
||||
for(S32 j = 0;j < reg.extensions.size();++j)
|
||||
{
|
||||
path.setExtension(reg.extensions[j]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue