Description

UE_CVLOG_BOX, UE_CVLOG_OBOX, and UE_CVLOG_CONE have problems with their definitions.

UE_CVLOG_OBOX calls UE_VLOG_BOX instead of UE_VLOG_OBOX

All 3 of these macros also call their respective macro with an incorrect parameter, using Actor instead of LogOwner.

Example:
Current:

 #define UE_CVLOG_BOX(Condition, LogOwner, CategoryName, Verbosity, Box, Color, Format, ...)  if(FVisualLogger::IsRecording() && Condition) {UE_VLOG_BOX(Actor, CategoryName, Verbosity, Box, FMatrix::Identity, Color, Format, ##__VA_ARGS__);}  

Expected:

 #define UE_CVLOG_BOX(Condition, LogOwner, CategoryName, Verbosity, Box, Color, Format, ...)  if(FVisualLogger::IsRecording() && Condition) {UE_VLOG_BOX(LogOwner, CategoryName, Verbosity, Box, FMatrix::Identity, Color, Format, ##__VA_ARGS__);} 
Steps to Reproduce

N/A - Code Issue

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-56978 in the post.

0
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.184.194.20
Target Fix4.20
Fix Commit3972611
Main Commit4006923
Release Commit4095966
CreatedMar 28, 2018
ResolvedMar 29, 2018
UpdatedMay 31, 2018
View Jira Issue