348 Commits

Author SHA1 Message Date
Urkaz
0531fccb09 PR #10345: Fix BehaviorTreeEditorModule custom Toolbar Extenders not being applied
#jira UE-183181
[RN] none

[CL 25799780 by Urkaz in ue5-main branch]
2023-06-05 14:57:34 -04:00
ben hoffman
0c503cad78 Add a Default Blackboard config option for Behavior Trees
#rb mieszko.zielinski, Yoan.Stamant

#ushell-cherrypick of 25473876 by kristof.morva1

================================

Add missing change to CL 25473876.

Add a Default Blackboard config option for Behavior Trees

#rb mieszko.zielinski, Yoan.Stamant
#[review]-25477192

#ushell-cherrypick of 25488112 by kristof.morva1

====================
#preflight 647a0825e75a2263919e0b9d

[CL 25763046 by ben hoffman in ue5-main branch]
2023-06-02 11:43:33 -04:00
ben hoffman
fcd29ab243 Expose some Behavior Tree Editor functionality to be inheritable and accessible from other modules.
Also introduce some smaller BT Editor UX improvements.

#rb mieszko.zielinski
#preflight 6479fbb6d4596f242cffa2a7

#ushell-cherrypick of 25473870 by kristof.morva1

[CL 25761210 by ben hoffman in ue5-main branch]
2023-06-02 10:44:25 -04:00
Mieszko Zielinski
6bb52ead82 [BehaviorTreeEditor] add FocusAttentionOnNode to IBehaviorTreeEditor and implement it in BehaviorTreeEditor
#jira none
#rb mieszko.zielinski

#ushell-cherrypick of 25577297 by zsofia.balogh
#preflight 646f50ee1134ffac7004acc1

[CL 25619513 by Mieszko Zielinski in ue5-main branch]
2023-05-25 08:36:18 -04:00
bryan sefcik
91c57d395e Removed redundant module includes.
#preflight 645d4bf3aa3c584c0b5b3a67

[CL 25435653 by bryan sefcik in ue5-main branch]
2023-05-11 16:48:21 -04:00
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