|
|
@ -114,7 +114,6 @@ osg::ref_ptr<BulletShapeInstance> BulletShapeManager::createInstance(const std::
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Files::IStreamPtr file = mVFS->get(normalized);
|
|
|
|
Files::IStreamPtr file = mVFS->get(normalized);
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: add support for non-NIF formats
|
|
|
|
|
|
|
|
size_t extPos = normalized.find_last_of('.');
|
|
|
|
size_t extPos = normalized.find_last_of('.');
|
|
|
|
std::string ext;
|
|
|
|
std::string ext;
|
|
|
|
if (extPos != std::string::npos && extPos+1 < normalized.size())
|
|
|
|
if (extPos != std::string::npos && extPos+1 < normalized.size())
|
|
|
|