Update Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Actor/ActorBlueprintFunctionLibrary.cpp
Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
This commit is contained in:
parent
b887208396
commit
6ed4056906
|
@ -1523,7 +1523,7 @@ FColor UActorBlueprintFunctionLibrary::RetrieveActorAttributeToColor(
|
|||
// editor crashing while people are testing new actor definitions.
|
||||
#if WITH_EDITOR
|
||||
# define CARLA_ABFL_CHECK_ACTOR(ActorPtr) \
|
||||
if ((ActorPtr == nullptr) || IsValid(ActorPtr)) \
|
||||
if (!IsValid(ActorPtr)) \
|
||||
{ \
|
||||
UE_LOG(LogCarla, Error, TEXT("Cannot set empty actor!")); \
|
||||
return; \
|
||||
|
|
Loading…
Reference in New Issue