Added validation step, added helper macro AI_BUILD_KEY to the material system.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@59 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -384,7 +384,7 @@ int CDisplay::ReplaceCurrentTexture(const char* szPath)
|
||||
pcMat->AddProperty(&szOld,szBuffer );
|
||||
}
|
||||
else if (szString.length == szOld.length &&
|
||||
0 == Assimp::ASSIMP_stricmp(szString.data,szOld.data))
|
||||
0 == ASSIMP_stricmp(szString.data,szOld.data))
|
||||
{
|
||||
pcMat->RemoveProperty(szBuffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user