Skip to content

Commit

Permalink
ported to 4.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto De Ioris committed Sep 6, 2018
1 parent ac3140f commit 473a253
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/UnrealEnginePython/Private/UEPyModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1318,8 +1318,8 @@ static int ue_PyUObject_setattro(ue_PyUObject *self, PyObject *attr_name, PyObje
Instance->PreEditChange(u_property);
if (ue_py_convert_pyobject(value, u_property, (uint8*)Instance, 0))
{
FPropertyChangedEvent PropertyEvent(u_property, EPropertyChangeType::ValueSet);
Instance->PostEditChangeProperty(PropertyEvent);
FPropertyChangedEvent InstancePropertyEvent(u_property, EPropertyChangeType::ValueSet);
Instance->PostEditChangeProperty(InstancePropertyEvent);
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion Source/UnrealEnginePython/Private/UObject/UEPyObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ PyObject *py_ue_broadcast(ue_PyUObject *self, PyObject *args)
#if ENGINE_MINOR_VERSION >= 17
prop->ImportText(*default_key_value, prop->ContainerPtrToValuePtr<uint8>(parms), PPF_None, NULL);
#else
prop->ImportText(*default_key_value, prop->ContainerPtrToValuePtr<uint8>(buffer), PPF_Localized, NULL);
prop->ImportText(*default_key_value, prop->ContainerPtrToValuePtr<uint8>(parms), PPF_Localized, NULL);
#endif
}
#endif
Expand Down

0 comments on commit 473a253

Please sign in to comment.