mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-03 23:56:47 +00:00 
			
		
		
		
	Cleanup
This commit is contained in:
		
							parent
							
								
									e62470d674
								
							
						
					
					
						commit
						83e9a649e5
					
				
					 2 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -114,7 +114,6 @@ osg::ref_ptr<BulletShapeInstance> BulletShapeManager::createInstance(const std::
 | 
			
		|||
    {
 | 
			
		||||
        Files::IStreamPtr file = mVFS->get(normalized);
 | 
			
		||||
 | 
			
		||||
        // TODO: add support for non-NIF formats
 | 
			
		||||
        size_t extPos = normalized.find_last_of('.');
 | 
			
		||||
        std::string ext;
 | 
			
		||||
        if (extPos != std::string::npos && extPos+1 < normalized.size())
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -130,7 +130,6 @@ namespace Resource
 | 
			
		|||
        {
 | 
			
		||||
            try
 | 
			
		||||
            {
 | 
			
		||||
                mTextureManager->getTexture2D(filename, osg::Texture::CLAMP_TO_EDGE, osg::Texture::CLAMP_TO_EDGE);
 | 
			
		||||
                return osgDB::ReaderWriter::ReadResult(mTextureManager->getImage(filename), osgDB::ReaderWriter::ReadResult::FILE_LOADED);
 | 
			
		||||
            }
 | 
			
		||||
            catch (std::exception& e)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue