Merge pull request #3991 from mahiuchun/double

FBX: fix double precision build.
pull/3995/head
Kim Kulling 2021-07-22 10:49:37 +02:00 committed by GitHub
commit 0372c8c65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1690,7 +1690,7 @@ void FBXExporter::WriteObjects ()
aiUVTransform trafo;
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
FBX::Node tnode("Texture");