diff --git a/utils/exporters/fbx/modules/win/Python26_x86/FbxCommon.py b/utils/exporters/fbx/modules/win/Python26_x86/FbxCommon.py index fa84010840a8b2..9b155a7cdc25c9 100644 --- a/utils/exporters/fbx/modules/win/Python26_x86/FbxCommon.py +++ b/utils/exporters/fbx/modules/win/Python26_x86/FbxCommon.py @@ -19,7 +19,7 @@ def InitializeSdkObjects(): def SaveScene(pSdkManager, pScene, pFilename, pFileFormat = -1, pEmbedMedia = False): lExporter = KFbxExporter.Create(pSdkManager, "") - if pFileFormat < 0 or pFileFormat >= pSdkManager.GetIOPluginRegistry().GetWriteFormatCount(): + if pFileFormat < 0 or pFileFormat >= pSdkManager.GetIOPluginRegistry().GetWriterFormatCount(): pFileFormat = pSdkManager.GetIOPluginRegistry().GetNativeWriterFormat() if not pEmbedMedia: lFormatCount = pSdkManager.GetIOPluginRegistry().GetWriterFormatCount() @@ -64,4 +64,4 @@ def LoadScene(pSdkManager, pScene, pFileName): result = lImporter.Import(pScene) lImporter.Destroy() - return result \ No newline at end of file + return result