Commit Graph

8 Commits

Author SHA1 Message Date
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00
sebastian nordgren
cf86a119f9 EditCondition now supports bitflags that use enums. Eg. MyIntProperty & MyEnum::Flag (and negation by tacking on == false).
Flags must be enums with integral values. Powers of two are not checked for to allow for the use of combinations of flags, eg. Foo = 1, Bar = 2, FooAndBar = Foo | Bar.

#rb chris.gagnon

[CL 9580343 by sebastian nordgren in Dev-Editor branch]
2019-10-15 03:46:06 -04:00
sebastian nordgren
5a26ba3922 Added handling of UObject pointers to edit conditions to enable equality, inequality and nullptr checks of UObject pointers in the form of: MyProperty != nullptr, or MyProperty == OtherProperty.
#rb chris.gagnon

[CL 9533510 by sebastian nordgren in Dev-Editor branch]
2019-10-10 10:08:16 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
sebastian nordgren
567f78dfd0 Fixed EditCondition triggering ensures when an EditCondition uses a property that does not exist in a struct (anymore).
Fixed enum value evaluation when a property is stored as a TEnumAsByte. Split EditConditionContext into its own file. Added unit tests using UObject to confirm that edit conditions don't break in the future.

#jira UE-75420

#rb chris.gagnon

#lockdown chris.gagnon

[CL 6829359 by sebastian nordgren in Dev-Editor branch]
2019-06-04 05:48:07 -04:00
sebastian nordgren
4f28ef8ac8 Missed includes.
#rb none

[CL 6663144 by sebastian nordgren in Dev-Editor branch]
2019-05-29 08:14:48 -04:00
sebastian nordgren
069b2fab65 UPROPERTY meta EditCondition now supports a full-fledged expression parser, allowing for multiple conditions to be used in EditConditions.
Previous functionality still works as it did before.

#rb chris.gagnon

[CL 6662859 by sebastian nordgren in Dev-Editor branch]
2019-05-29 05:16:00 -04:00