فهرست منبع

FBX: fix double precision build.

Hill Ma 4 سال پیش
والد
کامیت
aa883eda19
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      code/AssetLib/FBX/FBXExporter.cpp

+ 1 - 1
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");