mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-12 00:13:58 +00:00
replace specific names for a universal getRegistrations
This commit is contained in:
parent
3aac9af35e
commit
d4e9275240
7 changed files with 28 additions and 28 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::getBitmapRegistrations().size();++i)
|
||||
for(S32 i = 0;i < GBitmap::getRegistrations().size();++i)
|
||||
{
|
||||
GBitmap::Registration ® = GBitmap::getBitmapRegistrations()[i];
|
||||
GBitmap::Registration ® = GBitmap::getRegistrations()[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