Files
UnrealEngineUWP/Engine/Source/Editor/PropertyEditor/Private/EditConditionParserTests.h
sebastian nordgren 68bcbcf7b5 Fixed crash when using Merge Actors with Replace Source Actors enabled.
Edit conditions are now correctly applied to fields of nested structs.

#jira UE-76079

#rb chris.gagnon

[FYI] jamie.dale

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 6969280 in //UE4/Dev-Editor/... via CL 6969287
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v367-6836689)

[CL 7090684 by sebastian nordgren in Dev-Build branch]
2019-06-19 09:31:55 -04:00

45 lines
827 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UObject/Object.h"
#include "EditConditionParserTests.generated.h"
UENUM()
enum class EditConditionTestEnum
{
First = 15,
Second = 31
};
UENUM()
enum EditConditionByteEnum
{
First = 15,
Second = 31
};
UCLASS(transient)
class UEditConditionTestObject : public UObject
{
GENERATED_UCLASS_BODY()
UPROPERTY(EditAnywhere, Category=Test)
bool BoolProperty;
UPROPERTY(EditAnywhere, Category=Test)
EditConditionTestEnum EnumProperty;
UPROPERTY(EditAnywhere, Category=Test)
TEnumAsByte<EditConditionByteEnum> ByteEnumProperty;
UPROPERTY(EditAnywhere, Category=Test)
double DoubleProperty;
UPROPERTY(EditAnywhere, Category=Test)
int32 IntegerProperty;
UPROPERTY(EditAnywhere, Category=Test)
uint8 UintBitfieldProperty : 1;
};