Skip to content

Commit 473a253

Browse files
author
Roberto De Ioris
committed
ported to 4.15
1 parent ac3140f commit 473a253

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Source/UnrealEnginePython/Private/UEPyModule.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,8 +1318,8 @@ static int ue_PyUObject_setattro(ue_PyUObject *self, PyObject *attr_name, PyObje
13181318
Instance->PreEditChange(u_property);
13191319
if (ue_py_convert_pyobject(value, u_property, (uint8*)Instance, 0))
13201320
{
1321-
FPropertyChangedEvent PropertyEvent(u_property, EPropertyChangeType::ValueSet);
1322-
Instance->PostEditChangeProperty(PropertyEvent);
1321+
FPropertyChangedEvent InstancePropertyEvent(u_property, EPropertyChangeType::ValueSet);
1322+
Instance->PostEditChangeProperty(InstancePropertyEvent);
13231323
}
13241324
else
13251325
{

Source/UnrealEnginePython/Private/UObject/UEPyObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ PyObject *py_ue_broadcast(ue_PyUObject *self, PyObject *args)
10391039
#if ENGINE_MINOR_VERSION >= 17
10401040
prop->ImportText(*default_key_value, prop->ContainerPtrToValuePtr<uint8>(parms), PPF_None, NULL);
10411041
#else
1042-
prop->ImportText(*default_key_value, prop->ContainerPtrToValuePtr<uint8>(buffer), PPF_Localized, NULL);
1042+
prop->ImportText(*default_key_value, prop->ContainerPtrToValuePtr<uint8>(parms), PPF_Localized, NULL);
10431043
#endif
10441044
}
10451045
#endif

0 commit comments

Comments
 (0)