patrick boutot
8a281ad746
StateTree: Update the editor subsystem viewmodel cache. The cache is alive forever but the uobject can be GCed or reinstanciated. Update the cache if the found StateTree is not valid anymore.
...
#jira UE-222464
#rb Yoan.StAmant
[CL 35821675 by patrick boutot in ue5-main branch]
2024-08-27 07:06:07 -04:00
patrick boutot
0d3956484c
StateTree: Modified the compiler to continue on non fatal error. It will still stop at the end of a step if that step fails. That is because some steps require other steps to complete properly. This helps provide a list of errors instead of one error at the time. In the future we can divide the compilation into 2 steps. "Analyze" to check for errors and "compile". We can then break the steps dependency and provide a full list of errors before doing the actual compile work.
...
#jira UE-187153
#rb Yoan.StAmant
[CL 35821621 by patrick boutot in ue5-main branch]
2024-08-27 06:55:07 -04:00
patrick boutot
d07344e54c
SlateTree: Update the editor data when the state tree changes.
...
#jira UE-222447
#rb Mieszko.Zielinski
[CL 35800997 by patrick boutot in ue5-main branch]
2024-08-26 11:58:42 -04:00
patrick boutot
37b52bf349
StateTree: Fix bad access to the newly created element after adding the element. Introduced with CL 35780931.
...
#jira UE-222594
#rb patrick.boutot
#rnx
[CL 35797877 by patrick boutot in ue5-main branch]
2024-08-26 10:14:17 -04:00
patrick boutot
6c29f3dcbe
SlateTree: Fix localition conflict.
...
#jira UE-222610
#rb patrick.boutot#rnx
[CL 35797506 by patrick boutot in ue5-main branch]
2024-08-26 10:00:17 -04:00
patrick boutot
c57f8c2778
StateTree: Exapnd after adding a new node item.
...
#jira UE-221075
#rb logan.buchy
#rnx
[CL 35780960 by patrick boutot in ue5-main branch]
2024-08-23 15:43:44 -04:00
patrick boutot
bb4d92dc3a
StateTree: Add transition when promoting to a parameter.
...
#jira UE-220102
#rb patrick.boutot
#rnx
[CL 35751608 by patrick boutot in ue5-main branch]
2024-08-22 15:28:39 -04:00
patrick boutot
e2e59fd5f3
StateTree: Refresh the Color picker when the value changes by reaching the current color ref. The DetailView can reset the value on multiple select or when "reset to default".
...
#jira UE-220092
#rb Yoan.StAmant
[CL 35751469 by patrick boutot in ue5-main branch]
2024-08-22 15:26:55 -04:00
patrick boutot
752d11a867
StateTree: Remove binding that can overrides the target of another binding. Prevents binding that target a struct field to overrides the result of another binding that target the struct itself.
...
#jira UE-220080
#rb Yoan.StAmant
#rnx
[CL 35715184 by patrick boutot in ue5-main branch]
2024-08-21 15:15:49 -04:00
patrick boutot
630f8aa553
SlateTree: Fix bad access to the editor.
...
#jira UE-222338
#rb Yoan.StAmant
#rnx
[CL 35705091 by patrick boutot in ue5-main branch]
2024-08-21 11:51:26 -04:00
patrick boutot
86bff8fedc
StateTree: Remove temporary log.
...
#jira UE-212519
#rb Yoan.StAmant
#rnx
[CL 35695645 by patrick boutot in ue5-main branch]
2024-08-21 08:00:48 -04:00
jurre debaare
731555d181
Add ability to set StateTree schema class used by its asset factory
...
#rb Patrick.Boutot
[CL 35691792 by jurre debaare in ue5-main branch]
2024-08-21 05:19:17 -04:00
patrick boutot
8f848c86a8
StateTree: Fixed not displaying last property in binding if source is not a property function.
...
#rb jakub.kuznik
#rnx
[CL 35636824 by patrick boutot in ue5-main branch]
2024-08-19 16:11:51 -04:00
jacob wang
d403fdf2ca
[State Tree] Added state weight to scale final utility score
...
#rb sigurdur.gunnarsson
[CL 35635292 by jacob wang in ue5-main branch]
2024-08-19 15:41:09 -04:00
patrick boutot
d23bb5c2fe
StateTree: Add developper menu in StateTree editor. Add the option to display the compilation result.#rb Yoan.StAmant
...
#rnx
[CL 35634779 by patrick boutot in ue5-main branch]
2024-08-19 15:23:03 -04:00
patrick boutot
bda9871ba9
StateTree: Set the extension on the DetailView before any object is set.
...
#jira UE-220080
#rb Jurre.deBaare
[CL 35599640 by patrick boutot in ue5-main branch]
2024-08-16 13:30:56 -04:00
patrick boutot
b5959b59f4
StateTree: Add option to print the result of a StateTree compilation. Moved FStateTreeExecutionContext::GetDebugPrintString to UStateTree. Added transitions, global tasks and conditions. Update other FStateTreeExecutionContext functions to use StringBuilder.
...
#rb Yoan.StAmant
[CL 35592149 by patrick boutot in ue5-main branch]
2024-08-16 09:07:06 -04:00
jurre debaare
1454040a2b
StateTree editor
...
- StateTreeEditorMode, which now holds all of the state-tree editing behavior previously part of StateTreeEditor
- StateTreeEditorModeToolkit, responsible for UI/widgets used by StateTreeEditorMode
- StateTreeEditorModeUILayer used to host StateTreeEditorMode inside of the StateTreeEditor
- Exposed StateTreeViewModel
- Introduced IStateTreeEditorHost, interface to-be implemented for supporting StateTreeEditorMode within an Asset editor
- Moved compilation/validation to UStateTreeEditingSubsystem (editor sub system)
- Added layout extensions for StateTreeEditor
#rb Patrick.Boutot
[CL 35491719 by jurre debaare in ue5-main branch]
2024-08-13 09:09:54 -04:00
patrick boutot
98e3452db3
StateTree: Fix LOCTEXT conflict.
...
#jira UE-221300
#rnx
[FYI] Sigurdur.Gunnarsson
[CL 35420402 by patrick boutot in ue5-main branch]
2024-08-09 09:44:02 -04:00
guillaume arruda
30d8d033c8
Create basic state tree property function for int, bool, float, vector, actors
...
Create helper function to help create state tree property function
#rnx
#rb mikko.mononen
[CL 35337440 by guillaume arruda in ue5-main branch]
2024-08-06 07:42:19 -04:00
patrick boutot
bd1d8d9be3
StateTree: Fix deprecated NotSet link type for old assets. The original fix should have change the value of saved data but now we have 3 cases: correctly fixed data, fixed data with wrong type, and unfixed data.
...
#rb Yoan.StAmant
[CL 35271637 by patrick boutot in ue5-main branch]
2024-08-02 09:39:01 -04:00
mikko mononen
35c86ac7f0
StateTree: Allow conditions to receive state completion callbacks.
...
#rb Yoan.StAmant
[CL 35267259 by mikko mononen in ue5-main branch]
2024-08-02 06:57:58 -04:00
mikko mononen
815aec1232
StateTree: Fix compiler warnings.
...
[CL 35240387 by mikko mononen in ue5-main branch]
2024-08-01 06:26:11 -04:00
mikko mononen
441324a228
StateTree: Added State outliner and made the main tree view more detailed
...
- Simplied the task icon
- Created common treeview for States, used for state selection and outliner view
- Added common functions to describe state links and transitions
- Made custom expander arrow the main tree view
- Move the task lits on separate row on the main tree view
- Added enter condition list for on main tree view
- Clicking on tasks or enter conditions highlight them in the details panel
- Added state outliner which displays the state list compactly
- Added feedback for the drag and drop, and moved the code to separate file
#rb Yoan.StAmant
[CL 35239895 by mikko mononen in ue5-main branch]
2024-08-01 05:38:41 -04:00
mikko mononen
abb4bccc2e
StateTree: Fixed providing incorrect instance data during bindings compilation. (contributed)
...
[CL 35208559 by mikko mononen in ue5-main branch]
2024-07-31 05:21:07 -04:00