Commit Graph

388 Commits

Author SHA1 Message Date
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
henrik karlsson
ca622abf70 * Fixed non unity compile errors
* Added UE_INLINE_GENERATED_CPP_BY_NAME to a few files missing it
* Added HEADER_UNIT_SKIP comment to deprecated files

#preflight skipped
#rb none

[CL 23659670 by henrik karlsson in ue5-main branch]
2023-01-12 02:10:19 -05:00
mikko mononen
29f4ff63e1 StateTree: bump external data handly type to 16bits to not limit max nodes to 254.
#rb Mieszko.Zielinski
#preflight 63be8591d862fdd347408bef

[CL 23648546 by mikko mononen in ue5-main branch]
2023-01-11 12:44:01 -05:00
mikko mononen
652d03ca60 StateTree: Fix deno details for non-unity build
#rb trivial
#preflight 63be84adc543a64b7d2543a2

[CL 23648533 by mikko mononen in ue5-main branch]
2023-01-11 12:43:40 -05:00
mikko mononen
d30ad5127b State Tree: new node picker
- added class picker style new node picker with search box and categories

#rb Mieszko.Zielinski
#preflight 63be76206e6e8d4662c637fb

[CL 23643504 by mikko mononen in ue5-main branch]
2023-01-11 05:08:00 -05:00
mikko mononen
ab3816dd30 StateTree: Added global tasks
- Added global tasks which are run at tree level similar to evals (will replace evals)
	- allows initial state selection to rely in calculated data (e.g. world conditions)
	- allows better reuse of existing logic
- Call evaluator stop in reverse order
- Use some uses of mutable instanced structs
- Copy bindings along with ST nodes
- Remove bindings when removing a ST node, so that undo can restore them

#rb Yoan.StAmant
#preflight 63bd2c7968068a8bd6395d2c

[CL 23632408 by mikko mononen in ue5-main branch]
2023-01-10 15:44:28 -05:00
mikko mononen
007fead525 StateTree: Fixed enum property bindings
- consolidate naming of invalid/empty to none in any enum details
- fix UStateTreeEditorData::GetStructByID (was generally returning first context data)
- when binding to an enum property, prune potential source properties based on enum type

#jira UE-173050
#preflight 639c663e012902cb8db9546d

[CL 23537268 by mikko mononen in ue5-main branch]
2022-12-16 08:44:52 -05:00
mikko mononen
12fe8606a6 StructUtils: Fix crash in propertybag details
- SPinTypeSelector can outlive the detail rows of proeprty bag customization
- Make sure we can detect that case and fail gracefully

#preflight 639af57e2540a78d27d9b69d

[CL 23531353 by mikko mononen in ue5-main branch]
2022-12-15 15:55:38 -05:00
mikko mononen
8baac28d95 StateTree: Compiler was using wrong array when validating conditions.
#rb trivial
#preflight 6391a04d5c5308d18cab2069

[CL 23444269 by mikko mononen in ue5-main branch]
2022-12-08 04:39:33 -05:00
mikko mononen
44158dfc31 StateTree: small editor fixes
- updated type tooltip
- use stable sort to keep item order in same category intact

#rb Mieszko.Zielinski
#preflight 6390694c7e0feab0b7acccd5

[CL 23426899 by mikko mononen in ue5-main branch]
2022-12-07 06:57:23 -05:00
mikko mononen
ea716a7a05 StateTree: Fix localization key duplicate.
#rb trivial
#preflight 638dbcc49242c01326fd49eb

[CL 23388640 by mikko mononen in ue5-main branch]
2022-12-05 06:38:36 -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
mikko mononen
df359ce99e StateTree: Transition improvements
- Removed gated delay (transition will be delayed until it has been "pressed" for N seconds)
- Delay now triggers after the delay duration has passed (single trigger, not "pressed", works with events too)
- Added random variation for the delay
- Tick/Event transitions has precedence over completion transitions (that is, they are handled before completion transitions)
- Removed delay and blocking from completion transitions
- Small improvements for transitions UI

#rb Mieszko.Zielinski
#preflight 6389e0b435192facc1b95cdb

[CL 23371519 by mikko mononen in ue5-main branch]
2022-12-02 07:57:31 -05:00
foobit
3a0621e0f9 PR #9828: [StateTree] StateTreeEditor compile button with save options (Contributed by foobit)
#rb Mikko.Mononen
#preflight 637f6220f514e1ded9bdf58e

[CL 23259385 by foobit in ue5-main branch]
2022-11-24 10:07:21 -05:00
aditya ravichandran
f8b7ee5555 Replace any instances of "Source Control" with "Revision Control" in text in the Editor
#rb JeanMichel.Dignard, Robb.Surridge
#preflight 637d180efa348e8480e8837e

[CL 23250808 by aditya ravichandran in ue5-main branch]
2022-11-23 11:57:50 -05:00
zosiu
2c4ff1ccec Add IgnoreForMemberInitializationTest to FGuid properties in StateTreeState.h
#jira none
#rb mikko.mononen
#rb ben.hoffman
#preflight skip
#fyi mikko.mononen

#ushell-cherrypick of 23222487 by zsofia.balogh

[CL 23224017 by zosiu in ue5-main branch]
2022-11-21 13:05:25 -05:00
henrik karlsson
b5164ac775 Fixes to make modules compile with IWYU. We've added to IWYU toolchain so it compiles "orphaned" headers which does not have a owning cpp file. This identified lots of headers that couldn't be compiled by themselves (or if they were to included first)
Change consist of only forward declaration and additional includes

#preflight 63789c1de30d438849c48188
#rb none

[CL 23218412 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:23 -05:00
mikko mononen
1c69b826cc StateTree: Added node validation during compilation
- Added a pass during compilation when node and instance data can be checked and adjusted by the node
- Changed blueprint based task to copy flags to the node in Compile()
- Changed relevant gameplay interaction tasks to check tags during Compile()

#rb Mieszko.Zielinski
#preflight 6377724cf514e1ded9a5ff44

[CL 23193668 by mikko mononen in ue5-main branch]
2022-11-18 08:38:31 -05:00
steve robb
9e1c7e2b0f Fixed missing linkage for constants bound to references.
#rb trivial
#preflight 6364434fd308b70e661d6c5c

[CL 22977762 by steve robb in ue5-main branch]
2022-11-04 00:01:20 -04:00
mikko mononen
917f91f1dc StateTree: Fix copy pasting UObject based nodes
- not all properties were copied due to use of PPF_PropertyWindow instead of PPF_Copy
- instance object was not duplicated correctly

#rb Mieszko.Zielinski
#preflight 636372d954471d10be4d69f3

[CL 22959051 by mikko mononen in ue5-main branch]
2022-11-03 14:21:42 -04:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
yohann dossantos
a0ca551c0c Revert code that was work arounding the fact that the SScrollBox slots were not configurable enough.
tests:
-placement editor drag n drop
-state tree view while resizing the scrollbox.

#jira UE-161777
#rb brooke.hubert mikko.mononen
#preflight 636017da7e083afb290e5329

[CL 22869439 by yohann dossantos in ue5-main branch]
2022-10-31 15:13:40 -04:00
mikko mononen
f57006bb63 StateTree: Fix compilation of any enum bindings.
#jira UE-166050
#preflight 63564428ae33b04ec1bc45de
#rb Mieszko.Zielinski

[CL 22783245 by mikko mononen in ue5-main branch]
2022-10-26 13:01:21 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
bryan sefcik
117472780d Fixed include paths.
#jira
#preflight 634ee62fe746026e48eb077e

[CL 22621687 by bryan sefcik in ue5-main branch]
2022-10-19 06:39:08 -04:00