Commit Graph

388 Commits

Author SHA1 Message Date
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
mikko mononen
8eec0a3478 StateTree: Fixed binding to transition event payload from property functions. (contributed)
[CL 35207527 by mikko mononen in ue5-main branch]
2024-07-31 03:13:37 -04:00
mikko mononen
1d4111742a StateTree: Added utility icon
#rb Mieszko.Zielinski

[CL 35177010 by mikko mononen in ue5-main branch]
2024-07-30 09:26:32 -04:00
yoan stamant
e6d36d7569 Remove references to deprecated plugin StructUtils (now part of CoreUObject)
#jira UE-216472
#rb devin.doucette

#changelist validated

[CL 34514179 by yoan stamant in ue5-main branch]
2024-06-19 17:04:50 -04:00
yoan stamant
938f456b05 Moved UserDefinedStruct to CoreUObject
#jira UE-216472
#rb Devin.Doucette

[CL 34495793 by yoan stamant in ue5-main branch]
2024-06-19 08:00:57 -04:00
gary yuan
f85b2347ba [Backout] - CL34482589
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
Moved UserDefinedStruct to CoreUObject
#jira UE-216472
#rb Devin.Doucette

[CL 34486763 by gary yuan in ue5-main branch]
2024-06-18 20:05:51 -04:00
yoan stamant
b9344fb62e Moved UserDefinedStruct to CoreUObject
#jira UE-216472
#rb Devin.Doucette

[CL 34482607 by yoan stamant in ue5-main branch]
2024-06-18 17:57:11 -04:00
kevin macaulayvacher
276d09f6df Remove all simple usage of REN_ForceNoResetLoaders from the codebase since the flag has been deprecated and currently does nothing. Simple in this case is direct use of the flag with no conditional logic. More complex uses were removed in another change.
#rnx
#rb Francis.Hurteau

[CL 34424068 by kevin macaulayvacher in ue5-main branch]
2024-06-17 11:55:02 -04:00
jacob wang
0fa5fd8e36 [State Tree] Utility Selector Runtime First Pass
#rb mikko.mononen

[CL 34362979 by jacob wang in ue5-main branch]
2024-06-13 22:57:49 -04:00
robert seiver
8546a73cdf Add verbose logging for cases when a StateTree property is not bindable
#rb mikko.mononen

[CL 34279767 by robert seiver in ue5-main branch]
2024-06-11 12:04:28 -04:00
juan portillo
87367fc63d State Tree: corrected lambda capture to be by copy not ref + fixed to check UScriptStruct instead of UStruct for struct pin type
[CL 34267033 by juan portillo in ue5-main branch]
2024-06-11 04:15:08 -04:00
juan portillo
c9897fb3e5 State Tree: Added binding creation support in Binding Extension
- this also considers property refs

#rb mikko.mononen

[CL 34266628 by juan portillo in ue5-main branch]
2024-06-11 03:39:06 -04:00
juan portillo
f2a5e74381 State Tree: Modified extension point for prop handlers to pass in a details view ref instead
#rb mikko.mononen

[CL 34230862 by juan portillo in ue5-main branch]
2024-06-10 03:22:50 -04:00
juan portillo
ca06915df9 State Tree: Added extension handler create func
#rb mikko.mononen
#jira UE-215806

[CL 34129795 by juan portillo in ue5-main branch]
2024-06-05 12:56:26 -04:00
mikko mononen
02f0a5d3d4 StateTrees: Display node tooltips in editor (contributed) (take2)
[CL 34088094 by mikko mononen in ue5-main branch]
2024-06-04 04:07:38 -04:00