Skip to content

Commit 20c310f

Browse files
author
Roberto De Ioris
committed
fixed structs assignment
1 parent f693e4c commit 20c310f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/UnrealEnginePython/Private/UEPyModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,7 @@ bool ue_py_convert_pyobject(PyObject *py_obj, UProperty *prop, uint8 *buffer) {
16181618
ue_PyUScriptStruct *py_u_struct = (ue_PyUScriptStruct *)py_obj;
16191619
if (auto casted_prop = Cast<UStructProperty>(prop)) {
16201620
if (casted_prop->Struct == py_u_struct->u_struct) {
1621-
uint8 *dest = *casted_prop->ContainerPtrToValuePtr<uint8 *>(buffer);
1621+
uint8 *dest = casted_prop->ContainerPtrToValuePtr<uint8>(buffer);
16221622
FMemory::Memcpy(dest, py_u_struct->data, py_u_struct->u_struct->GetStructureSize());
16231623
return true;
16241624
}

0 commit comments

Comments
 (0)