Files
UnrealEngineUWP/Engine/Source/Editor/BehaviorTreeEditor
yoan stamant d6dede6a14 [BTDecorator_Blackboard]
- now using 'StringValue' property instead of 'IntValue' to store value for enum based keys to better support enumeration modifications (e.g. adding/removing values). 'IntValue' is kept in sync since still used for runtime evaluation.
- now using 'IntValue' to store enum value instead of index since runtime arithtmetic operation expects to compare values (bugfix). Also added validation for enumerations with values that could not be properly stored in enum based keys at runtime.
- improved Editor refresh on live UserDefinedEnum modifications
- current approach is to refresh only nodes displayed in the editor and not all loaded nodes. For the other we rely on the initialization when loaded to refresh all descriptions (i.e. InitializeFromAsset). Note that custom version serialization was not possible since we need related types to be loaded and keys to be resolved.
- fixed uninitialized properties in case an enum key is not fully setup (i.e. not pointing to a valid enumeration)
#jira UE-138786
#rb mieszko.zielinski, maxime.mercier
#preflight 62cc48f7604402cc47e56797

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 21043351 via CL 21043388 via CL 21043841
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21075275 by yoan stamant in ue5-main branch]
2022-07-13 13:50:25 -04:00
..
2022-07-13 13:50:25 -04:00