FBX: fix double precision build.

pull/3991/head
Hill Ma 2021-07-15 11:54:55 -07:00
parent cb5686653f
commit aa883eda19
1 changed files with 1 additions and 1 deletions

View File

@ -1690,7 +1690,7 @@ void FBXExporter::WriteObjects ()
aiUVTransform trafo; aiUVTransform trafo;
unsigned int max = sizeof(aiUVTransform); unsigned int max = sizeof(aiUVTransform);
aiGetMaterialFloatArray(mat, AI_MATKEY_UVTRANSFORM(aiTextureType_DIFFUSE, 0), (float *)&trafo, &max); aiGetMaterialFloatArray(mat, AI_MATKEY_UVTRANSFORM(aiTextureType_DIFFUSE, 0), (ai_real *)&trafo, &max);
// now write the actual texture node // now write the actual texture node
FBX::Node tnode("Texture"); FBX::Node tnode("Texture");