Bugfix: FCollada's special texture tag "bump" now maps to aiTEXTURE_NORMAL. Thanks to agent8261 for the hint

Bugfix: AssimpView now properly skips the leading quotation mark when being executed with a file

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1078 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
ulfjorensen
2011-09-14 09:41:48 +00:00
parent 1305376060
commit 487071be77
3 changed files with 6 additions and 4 deletions

View File

@@ -1260,7 +1260,7 @@ void ColladaLoader::FillMaterials( const ColladaParser& pParser, aiScene* /*pSce
AddTexture( mat, pParser, effect, effect.mTexDiffuse, aiTextureType_DIFFUSE);
if( !effect.mTexBump.mName.empty())
AddTexture( mat, pParser, effect, effect.mTexBump, aiTextureType_HEIGHT);
AddTexture( mat, pParser, effect, effect.mTexBump, aiTextureType_NORMALS);
if( !effect.mTexTransparent.mName.empty())
AddTexture( mat, pParser, effect, effect.mTexTransparent, aiTextureType_OPACITY);