Skip to content

Commit

Permalink
fixed fbx import in 4.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto De Ioris committed Aug 9, 2018
1 parent 31e8dfd commit 83d0ae9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/PythonConsole/Private/PyFbxFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 83d0ae9

Please sign in to comment.