mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 16:56:47 +00:00 
			
		
		
		
	Improve error reporting
This commit is contained in:
		
							parent
							
								
									08f06c6c2d
								
							
						
					
					
						commit
						64636bd85a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -470,7 +470,7 @@ namespace NifOsg | |||
|             const Nif::NiTextureEffect* textureEffect = static_cast<const Nif::NiTextureEffect*>(nifNode); | ||||
|             if (textureEffect->textureType != Nif::NiTextureEffect::Environment_Map) | ||||
|             { | ||||
|                 std::cerr << "Unhandled NiTextureEffect type " << textureEffect->textureType << std::endl; | ||||
|                 std::cerr << "Unhandled NiTextureEffect type " << textureEffect->textureType << " in " << mFilename << std::endl; | ||||
|                 return; | ||||
|             } | ||||
| 
 | ||||
|  | @ -487,7 +487,7 @@ namespace NifOsg | |||
|                 texGen->setMode(osg::TexGen::SPHERE_MAP); | ||||
|                 break; | ||||
|             default: | ||||
|                 std::cerr << "Unhandled NiTextureEffect coordGenType " << textureEffect->coordGenType << std::endl; | ||||
|                 std::cerr << "Unhandled NiTextureEffect coordGenType " << textureEffect->coordGenType << " in " << mFilename << std::endl; | ||||
|                 return; | ||||
|             } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue