- fbx: fix diffuse material color.

pull/14/head
Alexander Gessler 2012-07-05 14:26:26 +02:00
parent 04c77029e8
commit cfb05376d2
2 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ private:
bool ok;
const aiColor3D& Diffuse = GetColorPropertyFromMaterial(props,"Diffuse",ok);
if(ok) {
out_mat->AddProperty(&Diffuse,1,AI_MATKEY_COLOR_EMISSIVE);
out_mat->AddProperty(&Diffuse,1,AI_MATKEY_COLOR_DIFFUSE);
}
const aiColor3D& Emissive = GetColorPropertyFromMaterial(props,"Emissive",ok);

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 KiB