Commit Graph

383 Commits

Author SHA1 Message Date
jacob wang
32453d15c5 [State Tree Editor] Added icons for nodes creation buttons
#rb Patrick.Boutot

[CL 35995636 by jacob wang in ue5-main branch]
2024-09-03 22:24:53 -04:00
jacob wang
784b99f413 [State Tree] Simplified Namings
#rb Patrick.Boutot

[CL 35975294 by jacob wang in ue5-main branch]
2024-09-03 14:56:39 -04:00
patrick boutot
b91643374e StateTree: Add "reset to default" on bindings. Hide parent when a member has a binding. Change the test of the parent and color of the parent binding.
#rb Yoan.StAmant

[CL 35966298 by patrick boutot in ue5-main branch]
2024-09-03 10:04:08 -04:00
patrick boutot
da07da0a5f StateTree: Add image and color to the StateTree DetailView similar to the State DetailView.
#rb Yoan.StAmant
#rnx

[CL 35901650 by patrick boutot in ue5-main branch]
2024-08-29 14:25:32 -04:00
patrick boutot
8febf7d1b2 StateTree: Prevents incorrect character or too long state name.
#jira UE-222498
#rb Yoan.StAmant

[CL 35824960 by patrick boutot in ue5-main branch]
2024-08-27 10:33:49 -04:00
patrick boutot
44c6353e67 StateTree: Review feedback for CL 35592141
#rb yoan.stamant
#rnx

[CL 35822203 by patrick boutot in ue5-main branch]
2024-08-27 07:51:18 -04:00
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