Skip to content

Commit

Permalink
fixed build for 4.16
Browse files Browse the repository at this point in the history
  • Loading branch information
unbit committed Sep 11, 2017
1 parent 798b1aa commit 360f2e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/UnrealEnginePython/Private/UObject/UEPySkeletal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ PyObject *py_ue_skeletal_mesh_register_morph_target(ue_PyUObject *self, PyObject
if (!morph)
return PyErr_Format(PyExc_Exception, "argument is not a MorphTarget");

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

morph->PopulateDeltas(deltas, lod_index);

#if ENGINE_MINOR_VERSION > 15
#if ENGINE_MINOR_VERSION > 16
if (morph->HasValidData())
{
Py_RETURN_TRUE;
Expand Down

0 comments on commit 360f2e2

Please sign in to comment.