Commit Graph

343 Commits

Author SHA1 Message Date
raphael lapierre
64b65d0018 Changed SBehaviorTreeBlackboardView to own a weakptr to its blackboard data instead of a strong ref
[REVIEW] [at]yoan.stamant

[CL 25183645 by raphael lapierre in ue5-main branch]
2023-04-25 13:14:00 -04:00
kirill zorin
1734d17211 Preparing more engine+plugins callsites for upcoming TArray/TArrayView mutable conversion restrictions
#rb zousar.shaker
#preflight 644040f4a35280ed4f8d8932

[CL 25114182 by kirill zorin in ue5-main branch]
2023-04-19 15:52:24 -04:00
nick edwards
442653b187 Uses of ::Sort/::StableSort replaced with Algo versions.
#preflight 6422f8d3710ec8400fc7471c
#jira none
#rb steve.robb

[CL 24818983 by nick edwards in ue5-main branch]
2023-03-28 10:56:46 -04:00
joe kirchoff
d5a5a356b9 Remove unnecessary Public and Private entries for the current module being added to PublicIncludePaths or PrivateIncludePaths
#rnx
#jira UE-177808
#preflight 63f3fb8c90198dffba00cc27

[CL 24331758 by joe kirchoff in ue5-main branch]
2023-02-20 20:22:44 -05:00
christopher waters
cad10136bf Removing dependencies on GraphEditor Private by moving GraphActionNode.h to its Public folder.
#preflight 63e159aacf24c08f2c924fb2

[CL 24040429 by christopher waters in ue5-main branch]
2023-02-06 18:06:48 -05:00
yoan stamant
004d36425a Converted AI related Asset actions to AssetDefinitions (StateTree, BehaviorTree, Blackboard, EnvironmentQuery)
#rb mikko.mononen
#rb mieszko.zielinski
#preflight 63dd14211b44ee7cb16f4e46

[CL 24004167 by yoan stamant in ue5-main branch]
2023-02-03 20:52:46 -05:00
jordan hoffmann
bdc51e576e [BugFix] Static Analysis warnings
#rb dan.oconnor
#lockdown julien.marchand
#preflight 63db064f4965eb8c33de5daf

[CL 23972790 by jordan hoffmann in ue5-main branch]
2023-02-02 13:26:22 -05:00
jordan hoffmann
31b04b24ba [Feature/Bugfix] Support for diffing against nullptr (treated as an empty or nonexistent file)
#rb dan.oconnor
#preflight 63d83f963656ea96dc2a0a4c

#jira UE-173747
"Crash occurs when scrolling down through files in Review Changelist window upon loading of asset"
  - certain widget blueprints were crashing the review tool because we were working around the inability to diff against nullptr by constructing temprorary empty objects. This approach circumvents that problem entirely

#jira UE-173231
"Changelist Review tool allows diffing against previous revision for Deletion changes"
  - while this jira suggests that the ability to diff deletion changes is a bug, it was actually an intended feature. The real bug was that it would crash or fail to work in many cases. This has been fixed by either asset diffing against nullptr or text diffing against an empty file (depending on circumstance)

#jira UE-174610
"Reviewing Changelist with Deletion Changes results in LogLinker warnings & LoadErrors"
 - deletion changes were trying to load the new revision of files but obviously it doesn't exist because it's a deletion. Fixed by only loading the previous revision


note: since the review tool is going to be "Production Ready"  in 5.2, these changes are neccesary for stability

[CL 23924072 by jordan hoffmann in ue5-main branch]
2023-01-31 01:28:46 -05:00
Stephen Holmes
2b26966d14 Fixed some unnecessary use of FDeprecateSlateVector2D
#jira none
#review-23753724
#preflight 63c820e62e714f64adaf1207

[CL 23759108 by Stephen Holmes in ue5-main branch]
2023-01-18 12:45:52 -05:00
Stephen Holmes
785dc344a4 Initial AI pass on the Vector2f / FDeprecateSlateVector2D slate changes. We still need to do another pass once the rest of slate and the editor engine code has been converted.
#Jira UE-173967
#preflight 63c6d3f82a6acaf162abfa8a
#review-23731406

[CL 23739955 by Stephen Holmes in ue5-main branch]
2023-01-17 12:22:04 -05:00
yoan stamant
dc74804f43 [BehaviorTree] clear references to BT nodes now after pasting some graph nodes. These references will be set again when updating the BT from the graph nodes.
#jira UE-173447
#rnx
#rb maxime.mercier
#preflight 63c57e480b358b97d139b45d

[CL 23732823 by yoan stamant in ue5-main branch]
2023-01-16 17:03:25 -05:00
Yoan StAmant
587605b2cf [BehaviorTree] Blackboard based decorator can allow none values which will be used, instead of the first key, when the referred key no longer exists.
To use that behavior by default you need to set
[/Script/AIModule.AISystem]
bBlackboardKeyDecoratorAllowsNoneAsValue=true
in the configuration file.
#jira UE-104969
#rb mieszko.zielinski
#preflight 63c5775cd040694ab806f6b1

[CL 23729979 by Yoan StAmant in ue5-main branch]
2023-01-16 11:25:55 -05:00
Yoan StAmant
2eca030f94 [BehaviorTree] disconnecting root node in behavior tree editor will now disable the tree.
#jira UE-97749
#rb maxime.mercier
#preflight 639b8c8735203bc7aa80bcfc

[CL 23532163 by Yoan StAmant in ue5-main branch]
2022-12-15 16:35:56 -05:00
Bryan sefcik
80f80e7a25 Updated the underlying types for regular and namespaced enums.
#jira
#preflight 638e6d479549ddaa2822be9a

[CL 23421568 by Bryan sefcik in ue5-main branch]
2022-12-06 19:43:59 -05:00
Stephen Holmes
2f18773caa Addressing the remaining AI numeric conversion issues.
#jira UE-166285
#review
#preflight 638a031b35192facc1c0fd77

[CL 23372606 by Stephen Holmes in ue5-main branch]
2022-12-02 10:07:29 -05:00
charles lefebvre
105eb98ea0 Compile time error when a uint8 is used as a FBlackboard::Fkey
Fix BlackboardDecoratorDetails and BlackboardSelectorDetails
#tests Test FBlackboardDecoratorDetails in editor, rebuild projects
#rb mieszko.zielinski, maxime.mercier

[CL 23020972 by charles lefebvre in ue5-main branch]
2022-11-07 18:17:15 -05:00
bryan sefcik
0a3a232b0f Misc module file cleanup.
#jira
#preflight 634f4929864d9be23657bbf0

[CL 22634555 by bryan sefcik in ue5-main branch]
2022-10-19 15:07:57 -04:00
jacob dodson
2da04bb51e Added a gameplay tag blackboard key.
Also added none as a selectable option when nones are allowed for blackboard key selectors.
[REVIEW] [at]Nathan.Green, [at]Josh.May, [at]Cory.Kolek, [at]Kris.Pelley, [at]Guillaume.Guay, [at]Guillaume.Morreel, [at]Qian.He
#jira: FORT-505945

[CL 22088577 by jacob dodson in ue5-main branch]
2022-09-20 00:45:49 -04:00
bryan sefcik
925161d3e2 Another IWYU pass on Engine/Source/Editor/...
#jira

[CL 21716486 by bryan sefcik in ue5-main branch]
2022-08-30 23:04:40 -04:00
bryan sefcik
0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03:03 -04:00
bryan sefcik
8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00
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
bryan sefcik
435d89dea4 Manually updated a few files in Engine/Source/Editor/... to include some headers that were found to be missing after running IWYU.
#preflight 62cdac5084556536d0e57c64

[CL 21058996 by bryan sefcik in ue5-main branch]
2022-07-12 13:45:01 -04:00
Yoan StAmant
a9561ba6a9 [BehaviorTreeEditor] fix for UBehaviorTreeDecoratorGraph not refreshing when changing properties in the details view
#jira UE-151233
#rb mieszko.zielinski
#preflight 62a8a9d01f6754ac09af290f

[CL 20650127 by Yoan StAmant in ue5-main branch]
2022-06-14 11:48:03 -04:00
jordan hoffmann
490bccda39 [Feature] blueprint diff node outlines colored by diff state
#jira UE-150555
#rb aditya.ravichandran
#preflight 62a38ead2558795127e232d0

[CL 20600224 by jordan hoffmann in ue5-main branch]
2022-06-10 14:52:59 -04:00