Skip to content

Commit 9da24f4

Browse files
author
David
committed
Correct debug code - added EXTRA_DEBUG_CODE ifdef wrap.
1 parent c686eb1 commit 9da24f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/UnrealEnginePython/Private/UEPyModule.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3122,9 +3122,11 @@ bool ue_py_convert_pyobject(PyObject* py_obj, FProperty* prop, uint8* buffer, in
31223122
if (auto casted_prop = CastField<FClassProperty>(prop))
31233123
{
31243124
casted_prop->SetPropertyValue_InContainer(buffer, ue_obj->ue_object, index);
3125+
#ifdef EXTRA_DEBUG_CODE
31253126
EXTRA_UE_LOG(LogPython, Warning, TEXT("Convert Prop 3a is uclass %s"), *ue_obj->ue_object->GetName());
31263127
UK2Node_DynamicCast* node = (UK2Node_DynamicCast*)buffer;
31273128
EXTRA_UE_LOG(LogPython, Warning, TEXT("Setting attr targetype is %p"), (void *)(node->TargetType));
3129+
#endif
31283130
return true;
31293131
}
31303132
else if (auto casted_prop_soft_class = CastField<FSoftClassProperty>(prop))

0 commit comments

Comments
 (0)