@@ -56,7 +56,7 @@ void UPythonFunction::CallPythonCallable(FFrame& Stack, RESULT_DECL)
5656 if (prop->PropertyFlags & CPF_ReturnParm)
5757 continue ;
5858 if (!on_error) {
59- PyObject *arg = ue_py_convert_property (prop, (uint8 *)Stack.Locals );
59+ PyObject *arg = ue_py_convert_property (prop, (uint8 *)Stack.Locals , 0 );
6060 if (!arg) {
6161 unreal_engine_py_log_error ();
6262 on_error = true ;
@@ -76,7 +76,7 @@ void UPythonFunction::CallPythonCallable(FFrame& Stack, RESULT_DECL)
7676 if (prop->PropertyFlags & CPF_ReturnParm)
7777 continue ;
7878 if (!on_error) {
79- PyObject *arg = ue_py_convert_property (prop, frame);
79+ PyObject *arg = ue_py_convert_property (prop, frame, 0 );
8080 if (!arg) {
8181 unreal_engine_py_log_error ();
8282 on_error = true ;
@@ -108,7 +108,7 @@ void UPythonFunction::CallPythonCallable(FFrame& Stack, RESULT_DECL)
108108#if defined(UEPY_MEMORY_DEBUG)
109109 UE_LOG (LogPython, Warning, TEXT (" FOUND RETURN VALUE" ));
110110#endif
111- if (ue_py_convert_pyobject (ret, return_property, frame)) {
111+ if (ue_py_convert_pyobject (ret, return_property, frame, 0 )) {
112112 // copy value to stack result value
113113 FMemory::Memcpy (RESULT_PARAM, frame + function->ReturnValueOffset , return_property->ArrayDim * return_property->ElementSize );
114114 }
0 commit comments