From aa883eda195fd144a27789f69059a8742ad93103 Mon Sep 17 00:00:00 2001 From: Hill Ma Date: Thu, 15 Jul 2021 11:54:55 -0700 Subject: [PATCH] FBX: fix double precision build. --- code/AssetLib/FBX/FBXExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetLib/FBX/FBXExporter.cpp b/code/AssetLib/FBX/FBXExporter.cpp index ccff15c15..c19c593dd 100644 --- a/code/AssetLib/FBX/FBXExporter.cpp +++ b/code/AssetLib/FBX/FBXExporter.cpp @@ -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");