From 360f2e28e68633cae5c720258a85b72c44726e80 Mon Sep 17 00:00:00 2001 From: Roberto De Ioris Date: Mon, 11 Sep 2017 16:54:26 +0200 Subject: [PATCH] fixed build for 4.16 --- Source/UnrealEnginePython/Private/UObject/UEPySkeletal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UnrealEnginePython/Private/UObject/UEPySkeletal.cpp b/Source/UnrealEnginePython/Private/UObject/UEPySkeletal.cpp index 1decbc49d..789a94fe8 100644 --- a/Source/UnrealEnginePython/Private/UObject/UEPySkeletal.cpp +++ b/Source/UnrealEnginePython/Private/UObject/UEPySkeletal.cpp @@ -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 @@ -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;