FIX: SMDLoader was broken due to erroneous 'rt' in input stream construction.
FIX: MD3Loader, revive dead branch. FIX: TargetAnimation - clarify doc on preconditions. FIX: aiMatrix3x3::FromTo - move cross product into a branch to save it we can do it without it. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@530 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -303,7 +303,7 @@ void Q3Shader::ConvertShaderToMaterial(MaterialHelper* out, const ShaderDataBloc
|
||||
type = aiTextureType_EMISSIVE;
|
||||
}
|
||||
}
|
||||
else if ((*it).blend_src == Q3Shader::BLEND_GL_DST_COLOR && Q3Shader::BLEND_GL_ZERO) {
|
||||
else if ((*it).blend_src == Q3Shader::BLEND_GL_DST_COLOR && (*it).blend_dest == Q3Shader::BLEND_GL_ZERO) {
|
||||
index = cur_lm++;
|
||||
type = aiTextureType_LIGHTMAP;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user