Skip to content

Commit 360f2e2

Browse files
committed
fixed build for 4.16
1 parent 798b1aa commit 360f2e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/UnrealEnginePython/Private/UObject/UEPySkeletal.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ PyObject *py_ue_skeletal_mesh_register_morph_target(ue_PyUObject *self, PyObject
950950
if (!morph)
951951
return PyErr_Format(PyExc_Exception, "argument is not a MorphTarget");
952952

953-
#if ENGINE_MINOR_VERSION > 15
953+
#if ENGINE_MINOR_VERSION > 16
954954
if (!morph->HasValidData())
955955
return PyErr_Format(PyExc_Exception, "the MorphTarget has no valid data");
956956
#endif
@@ -1009,7 +1009,7 @@ PyObject *py_ue_morph_target_populate_deltas(ue_PyUObject *self, PyObject * args
10091009

10101010
morph->PopulateDeltas(deltas, lod_index);
10111011

1012-
#if ENGINE_MINOR_VERSION > 15
1012+
#if ENGINE_MINOR_VERSION > 16
10131013
if (morph->HasValidData())
10141014
{
10151015
Py_RETURN_TRUE;

0 commit comments

Comments
 (0)