Fixed texture paths in some NFF files.

Cleaned up Assimp C-API calls in the viewer.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@284 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2009-01-11 15:20:06 +00:00
parent b73cb1c569
commit 6c69ebee4f
5 changed files with 32 additions and 22 deletions

View File

@@ -197,7 +197,7 @@ void NFFImporter::LoadNFF2MaterialTable(std::vector<ShadingInfo>& output,
else if (TokenMatch(sz,"diffuse",7) || TokenMatch(sz,"ambientdiffuse",14) /* correct? */)
{
AI_NFF_PARSE_TRIPLE(c);
curShader->diffuse = c;
curShader->diffuse = curShader->ambient = c;
}
else if (TokenMatch(sz,"specular",8))
{