Skip to content

Commit b0dc3e5

Browse files
committed
fixed 4.16
1 parent 240407b commit b0dc3e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Source/UnrealEnginePython/Private/UEPyModule.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3195,7 +3195,7 @@ UFunction *unreal_engine_add_function(UClass *u_class, char *name, PyObject *py_
31953195
prop_struct->Struct = TBaseStructure<FTransform>::Get();
31963196
prop = prop_struct;
31973197
}
3198-
#if ENGINE_MINOR_VERSION > 15
3198+
#if ENGINE_MINOR_VERSION > 16
31993199
else if ((PyTypeObject *)value == &ue_PyFQuatType)
32003200
{
32013201
UStructProperty *prop_struct = NewObject<UStructProperty>(function, UTF8_TO_TCHAR(p_name), RF_Public);
@@ -3248,7 +3248,7 @@ UFunction *unreal_engine_add_function(UClass *u_class, char *name, PyObject *py_
32483248
prop_base->SetPropertyClass(p_u_class);
32493249
prop = prop_base;
32503250
}
3251-
#if ENGINE_MINOR_VERSION > 15
3251+
#if ENGINE_MINOR_VERSION > 16
32523252
else if (py_obj->ue_object->IsA<UEnum>())
32533253
{
32543254
UEnumProperty *prop_enum = NewObject<UEnumProperty>(function, UTF8_TO_TCHAR(p_name), RF_Public);
@@ -3338,7 +3338,7 @@ UFunction *unreal_engine_add_function(UClass *u_class, char *name, PyObject *py_
33383338
prop_struct->Struct = TBaseStructure<FTransform>::Get();
33393339
prop = prop_struct;
33403340
}
3341-
#if ENGINE_MINOR_VERSION > 15
3341+
#if ENGINE_MINOR_VERSION > 16
33423342
else if ((PyTypeObject *)py_return_value == &ue_PyFQuatType)
33433343
{
33443344
UStructProperty *prop_struct = NewObject<UStructProperty>(function, UTF8_TO_TCHAR(p_name), RF_Public);
@@ -3391,7 +3391,7 @@ UFunction *unreal_engine_add_function(UClass *u_class, char *name, PyObject *py_
33913391
prop_base->SetPropertyClass(p_u_class);
33923392
prop = prop_base;
33933393
}
3394-
#if ENGINE_MINOR_VERSION > 15
3394+
#if ENGINE_MINOR_VERSION > 16
33953395
else if (py_obj->ue_object->IsA<UEnum>())
33963396
{
33973397
UEnumProperty *prop_enum = NewObject<UEnumProperty>(function, UTF8_TO_TCHAR(p_name), RF_Public);

0 commit comments

Comments
 (0)