Added ScenePreProcessor helper class to add missing dummy animation channels.
Modified FindInvalidData's behaviour regarding animation channels Futher work on the IRR scene and IRRMESH loaders. Q3D fix. Updated aiNodeAnim documentation. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@218 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -436,8 +436,8 @@ outer:
|
||||
mat->AddProperty(&srcMat.specular, 1,AI_MATKEY_COLOR_SPECULAR);
|
||||
mat->AddProperty(&srcMat.ambient, 1,AI_MATKEY_COLOR_AMBIENT);
|
||||
|
||||
//if (!(minor > '0' && major == '3'))
|
||||
// srcMat.transparency = 1.0f - srcMat.transparency;
|
||||
if (!(minor > '0' && major == '3'))
|
||||
srcMat.transparency = 1.0f - srcMat.transparency;
|
||||
mat->AddProperty(&srcMat.transparency, 1, AI_MATKEY_OPACITY);
|
||||
|
||||
// add shininess - Quick3D seems to use it ins its viewer
|
||||
|
||||
Reference in New Issue
Block a user