Commit Graph

248 Commits

Author SHA1 Message Date
yoan stamant
c478e602b3 [StateTree] debugger updates:
- replaced log listing by treeview (as a prototype but will be replaced by a timeline)
- added event for conditions
- added details view for Condition and Tasks instance data
#rb mikko.mononen
#preflight 644002eea35280ed4f7a6afe

[CL 25110578 by yoan stamant in ue5-main branch]
2023-04-19 13:26:23 -04:00
kirill zorin
a469aafd78 Update callsites to prepare for upcoming TArray/TArrayView<TObjectPtr<...>> restrictions
#rb zousar.shaker
#rb devin.doucette
#rb steve.robb
#rb robert.manuszewski
#rb saam.barati
#preflight 643f4c09a35280ed4f53ccb3

[CL 25100071 by kirill zorin in ue5-main branch]
2023-04-18 22:39:29 -04:00
mikko mononen
51aa286c45 State Tree: Added new selection behaviors for states
- Added selection behavior None (not selectable)
- Added selection behavior TryEnterState (enters the specific state, does not consider child states)
- Added selection behavior TryFollowTransitions (follows transitions when state is tried to be selected)
- Brushed up a bit the state representation in editor (added icons, cleaned up layout)

#preflight 6436843df12d5de705595942

[CL 25005118 by mikko mononen in ue5-main branch]
2023-04-12 07:59:16 -04:00
mikko mononen
28bbc001af StateTree: Handle nodes with instance subobjects.
#preflight 642d643eda7f958370d22791

[CL 24926775 by mikko mononen in ue5-main branch]
2023-04-05 09:28:17 -04:00
mikko mononen
71fb1a0a07 StateTree: Moving OnBindingChanged methods from FStateTreeConditionBase to FStateTreeNodeBase
#preflight 642c164bd6069e71b1f24927

[CL 24909812 by mikko mononen in ue5-main branch]
2023-04-04 09:45:41 -04:00
mikko mononen
364a52e761 StateTree: Fix indentation handling in FStateTreeCompiler::CreateConditions() which lead to a crash an uncorrect handling of nested expressions.
#preflight 642c08ba6a37fb35e91bfd64

[CL 24908918 by mikko mononen in ue5-main branch]
2023-04-04 08:25:50 -04:00
mikko mononen
8e8589ae6e StateTree: Allow property binding to copy pointers to components
#preflight 642ac4148f078cc7031747ed

[CL 24892144 by mikko mononen in ue5-main branch]
2023-04-03 10:06:31 -04:00
mikko mononen
8f2eb60175 StateTree: Fixed tree update on State Tree view
#jira UE-180434
#preflight 642a81d0c6769c6082391df1

[CL 24890572 by mikko mononen in ue5-main branch]
2023-04-03 06:44:01 -04:00
fpwong
febde4dd92 PR #10275: Remove state tree debug LogTemp messages (Contributed by fpwong)
#preflight 642675ee472a24e57063eb0a

[CL 24868213 by fpwong in ue5-main branch]
2023-03-31 03:29:25 -04:00
yoan stamant
b4c666585e [StateTreeDebugger]
- process breakpoints only for instances matching the debugged asset
#rnx
#rb mieszko.zielinksi
#preflight 641455a05d3e25354f16708f

[CL 24687988 by yoan stamant in ue5-main branch]
2023-03-17 09:41:13 -04:00
yoan stamant
8c35447677 [StateTree] trivial changes from review
#rnx
#rb trivial
#preflight skip

[CL 24655890 by yoan stamant in ue5-main branch]
2023-03-15 11:59:44 -04:00
mikko mononen
6784d5ed0a StateTree: collapse instead of hide invisible breakpoints
#rb trivial
[FYI] Yoan.StAmant
#preflight 64118431af3fc352925c62f7

[CL 24652145 by mikko mononen in ue5-main branch]
2023-03-15 06:18:57 -04:00
mikko mononen
578c0766ca StateTree: Fix core content references in editor style.
#jira UE-179972
#preflight 641183d4bd6894c435877736

[CL 24652029 by mikko mononen in ue5-main branch]
2023-03-15 05:59:37 -04:00
yoan stamant
f6debf6168 Tentative CIS fix by not compiling StateTree debugger for non win64 platforms (part 2)
#preflight skip
#rb none

[CL 24639468 by yoan stamant in ue5-main branch]
2023-03-14 13:38:28 -04:00
yoan stamant
64c8dca7cb [StateTreeDebugger]
Initial version of the debugger
- currently compiled by StateTreeModule and StateTreeEditorModule using WITH_STATETREE_DEBUGGER
- currently not exposed to UI by StateTree settings 'bUseDebugger'
- in this version only one instance per asset can be debugged
- using Trace services to read events generated by statetree instances.
- can connect to any traces (Editor, Client, Server) as long as the compiled statetree matches
#rb mieszko.zielinski
#preflight 641088a30e1f02786b509663

[CL 24639409 by yoan stamant in ue5-main branch]
2023-03-14 13:35:46 -04:00
mikko mononen
ebbe6fc074 StateTree: Fix schema validation when pasting tasks
#rb Mieszko.Zielinski
#preflight 6405950b6e1dadfcdae4132d

[CL 24519201 by mikko mononen in ue5-main branch]
2023-03-06 03:38:51 -05:00
mikko mononen
97819dc172 StateTree: Fix bad merge in state tree editor styles.
[CL 24499716 by mikko mononen in ue5-main branch]
2023-03-03 11:22:38 -05:00
mikko mononen
178c534688 State Tree: Copy and paste State Tree states.
- Refactored State Tree style to follow more recent style pattern
- Added code to ensure that State Tree states outers are always the parent state (fixes issues with FCustomizableTextObjectFactory)
- Added support for Cut/Copy/Paste of state tree states (across State Trees)
- Improved reporting of bad bindings and state links (compiler & UI)

#rb Mieszko.Zielinski
#preflight 6401b6e4aa00423335918e9d

[CL 24499706 by mikko mononen in ue5-main branch]
2023-03-03 11:22:29 -05:00
marc audy
b608402db7 [Backout] - CL24461256 to resolve nonunity errors
[FYI] mikko.mononen
Original CL Desc
-----------------------------------------------------------------
State Tree: Copy and paste State Tree states.
- Refactored State Tree style to follow more recent style pattern
- Added code to ensure that State Tree states outers are always the parent state (fixes issues with FCustomizableTextObjectFactory)
- Added support for Cut/Copy/Paste of state tree states (across State Trees)
- Improved reporting of bad bindings and state links (compiler & UI)

#rb Mieszko.Zielinski
#preflight 63ff52bef43e53f68119073e

[CL 24469431 by marc audy in ue5-main branch]
2023-03-01 15:40:35 -05:00
mikko mononen
6cf89871fe State Tree: Copy and paste State Tree states.
- Refactored State Tree style to follow more recent style pattern
- Added code to ensure that State Tree states outers are always the parent state (fixes issues with FCustomizableTextObjectFactory)
- Added support for Cut/Copy/Paste of state tree states (across State Trees)
- Improved reporting of bad bindings and state links (compiler & UI)

#rb Mieszko.Zielinski
#preflight 63ff52bef43e53f68119073e

[CL 24462230 by mikko mononen in ue5-main branch]
2023-03-01 10:10:00 -05:00
mikko mononen
69fc0b5edc StateTree: Sort property bindings based on layout.
- the bindings sent to the compiler are in order they were created
- sort the bindings so that e.g. copying and array and a speciific array item will first copy the earliest property (array) and then the rest (specific item)

#rb Mieszko.Zielinski
#preflight 63ef2b42500c05a624aff988

[CL 24278616 by mikko mononen in ue5-main branch]
2023-02-17 04:00:32 -05:00
mikko mononen
d6c7b83142 StateTree: Fixed not saving STs when executing cmdlet
#preflight 63edee717d2ec3d2fd978f4a

[CL 24254174 by mikko mononen in ue5-main branch]
2023-02-16 05:17:53 -05:00
stephen holmes
97766341ea Refactored FSructView and FConstStructView as per recent meetings. Both are now const correct in the same way TArrayView and TArrayConstView are (ie const FStructView and const FConstStructView) the view can not point at another view.
Also removed the Mutable named functions and replaced with the constness being part of the template.

#preflight 63ea4fbaec50523134d85665

[CL 24197313 by stephen holmes in ue5-main branch]
2023-02-13 20:06:02 -05:00
mikko mononen
1be4bf3ce1 StateTree: improve error reporting when pasting state tree nodes
#preflight 63ea0833923476b686bad92b

[CL 24172330 by mikko mononen in ue5-main branch]
2023-02-13 06:19:05 -05:00
mikko mononen
96f5a4dfb1 StateTree: remove unnecessary null test to keep static analysis happy.
#preflight 63e9f194a24b861df949ec2a

[CL 24171774 by mikko mononen in ue5-main branch]
2023-02-13 04:37:40 -05:00