Skip to content

Commit

Permalink
fixed 4.19 build
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed Oct 20, 2018
1 parent f1e9050 commit b8d73dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static PyObject *py_ue_ffoliage_instance_get_instance_id(ue_PyFFoliageInstance *
return PyLong_FromLong(self->instance_id);
}

#if ENGINE_MINOR_VERSION > 18
#if ENGINE_MINOR_VERSION > 19
static PyObject *py_ue_ffoliage_instance_get_base_component(ue_PyFFoliageInstance *self, void *closure)
{
get_instance(self);
Expand All @@ -162,7 +162,7 @@ static PyGetSetDef ue_PyFFoliageInstance_getseters[] = {
{ (char *)"guid", (getter)py_ue_ffoliage_instance_get_procedural_guid, nullptr, (char *)"", NULL },
{ (char *)"base_id", (getter)py_ue_ffoliage_instance_get_base_id, nullptr, (char *)"", NULL },
{ (char *)"instance_id", (getter)py_ue_ffoliage_instance_get_instance_id, nullptr, (char *)"", NULL },
#if ENGINE_MINOR_VERSION > 18
#if ENGINE_MINOR_VERSION > 19
{ (char *)"base_component", (getter)py_ue_ffoliage_instance_get_base_component, nullptr, (char *)"", NULL },
#endif
{ NULL } /* Sentinel */
Expand Down

0 comments on commit b8d73dc

Please sign in to comment.