Failed to get floating values (e.g. opacity) from scene material when ASSIMP_DOUBLE_PRECISION is defined, so they are not reflected to output fbx file.
pull/5268/head^2
Kawashima Satoshi 2023-10-05 16:06:29 +09:00 committed by Kim Kulling
parent 5d60cf228a
commit 666ecd3f1f
1 changed files with 1 additions and 1 deletions

View File

@ -1391,7 +1391,7 @@ void FBXExporter::WriteObjects ()
aiMaterial* m = mScene->mMaterials[i]; aiMaterial* m = mScene->mMaterials[i];
// these are used to receive material data // these are used to receive material data
float f; aiColor3D c; ai_real f; aiColor3D c;
// start the node record // start the node record
FBX::Node n("Material"); FBX::Node n("Material");