Skip to content

Commit

Permalink
fixed 4.18
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed Nov 28, 2018
1 parent c87bacf commit 56a6f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/UnrealEnginePython/Private/UEPyModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3195,7 +3195,7 @@ UFunction *unreal_engine_add_function(UClass *u_class, char *name, PyObject *py_
prop_struct->Struct = TBaseStructure<FTransform>::Get();
prop = prop_struct;
}
#if ENGINE_MINOR_VERSION > 17
#if ENGINE_MINOR_VERSION > 18
else if ((PyTypeObject *)value == &ue_PyFQuatType)
{
UStructProperty *prop_struct = NewObject<UStructProperty>(function, UTF8_TO_TCHAR(p_name), RF_Public);
Expand Down Expand Up @@ -3338,7 +3338,7 @@ UFunction *unreal_engine_add_function(UClass *u_class, char *name, PyObject *py_
prop_struct->Struct = TBaseStructure<FTransform>::Get();
prop = prop_struct;
}
#if ENGINE_MINOR_VERSION > 17
#if ENGINE_MINOR_VERSION > 18
else if ((PyTypeObject *)py_return_value == &ue_PyFQuatType)
{
UStructProperty *prop_struct = NewObject<UStructProperty>(function, UTF8_TO_TCHAR(p_name), RF_Public);
Expand Down

0 comments on commit 56a6f30

Please sign in to comment.