I’m upgrading some C++ code from 2.22 to 2.24. One code snippet is (sort of) as follows:
void UMyComponent::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
{
// Other code here.
bool bDoUpdate = PropertyChangedEvent.Property == GET_MEMBER_NAME_CHECKED(UMyComponent, RelateiveScale3D);
// Other code here.
}
In 2.24 I get a warning saying that RelativeScale3D
will become private in the future.
What does this mean for my code snippet?
How can I do the equivalent check without warning and in a way that will work when RelativeScale3D
become private?
Will I even still get the PostEditChangeProperty
callback when the trasition to function-only access is finalized?