From 83d0ae97e5cb7ae7fb1d2a74d3761412ac7d4438 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Thu, 9 Aug 2018 13:14:45 +0200 Subject: [PATCH] fixed fbx import in 4.20 --- Source/PythonConsole/Private/PyFbxFactory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/PythonConsole/Private/PyFbxFactory.cpp b/Source/PythonConsole/Private/PyFbxFactory.cpp index 2b2da1d25..d362f664b 100644 --- a/Source/PythonConsole/Private/PyFbxFactory.cpp +++ b/Source/PythonConsole/Private/PyFbxFactory.cpp @@ -28,6 +28,8 @@ UObject * UPyFbxFactory::FactoryCreateFile(UClass* InClass, UObject* InParent, F { #if ENGINE_MINOR_VERSION >= 20 FbxMeshUtils::SetImportOption(ImportUI); + // ensure auto-detect is skipped + bDetectImportTypeOnImport = false; #endif return Super::FactoryCreateFile(InClass, InParent, InName, Flags, Filename, Parms, Warn, bOutOperationCanceled); }