Commit Graph

395 Commits

Author SHA1 Message Date
jurre debaare
cf263f69ef Closing the last opened tab in the StateTree Editor hides the toolbar buttons on the remaining open tabs
- Retrieve current state-tree editor mode through UAssetEditorToolkitMenuContext rather than capturing
- Added menu profile to disable state-tree toolbar entries (used by workspace editor)
- Added delegate to _extend_ workspace toolmenu context (used by AnimNextStateTree)

#jira UE-227088
#rb aditya.ravichandran, brooke.hubert
#swarm 37091915

[CL 37102342 by jurre debaare in 5.5 branch]
2024-10-14 16:57:17 -04:00
patrick boutot
e3a7a4b04f StateTree: Fix compilation crash when the task fails and the state should not continue compiling. Regression introduced with CL 35821616.
#jira UE-226820
#rb Yoan.StAmant

[CL 36930819 by patrick boutot in 5.5 branch]
2024-10-08 09:44:09 -04:00
patrick boutot
5e53742649 [Backout] - CL36787551
[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
StateTree:Prevents binding to array, set and map element. Remove the ability to create bindings in the editor. It will be reenabled once all the bugs are fixed.
#jira UE-220272
#rb jacob.wang

[CL 36901476 by patrick boutot in 5.5 branch]
2024-10-07 11:49:43 -04:00
patrick boutot
589df80fad [Backout] - 35717852
Binding are already sorted somewhere else and the jira is fixed by something else. This break instanced object binding.

[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
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 36858737 by patrick boutot in 5.5 branch]
2024-10-04 09:41:09 -04:00
patrick boutot
429b55a86c [Backout] - 36787551
Backing out the modification to prevent binding to array. Guarding beeing a cvar. Keeps the restriction for set and map

Original CL Desc
-----------------------------------------------------------------
StateTree:Prevents binding to array, set and map element. Remove the ability to create bindings in the editor. It will be reenabled once all the bugs are fixed.
#jira UE-220272
#rb Yoan.StAmant
#rnx

[CL 36858690 by patrick boutot in 5.5 branch]
2024-10-04 09:40:09 -04:00
patrick boutot
1337b0678b StateTree:Prevents binding to array, set and map element. Remove the ability to create bindings in the editor. It will be reenabled once all the bugs are fixed.
#jira UE-220272
#rb jacob.wang

[CL 36787637 by patrick boutot in 5.5 branch]
2024-10-02 11:03:49 -04:00
patrick boutot
6f141eedba StateTree: Prevent crash when the property handle doesn't have a valid property after a undo operation.
#jira UE-223636
#rb jacob.wang

[CL 36765666 by patrick boutot in 5.5 branch]
2024-10-01 20:56:43 -04:00
yoan stamant
f8a73d651c [StateTree] added mention '(experimental)' to the diff window
#jira UE-224057
#rb Patrick.Boutot

[CL 36450656 by yoan stamant in 5.5 branch]
2024-09-19 16:39:13 -04:00
patrick boutot
92b3e3e6fa StateTree: Compile the StateTree after each load in the editor. That ensures the data is valid when cooking and that if the cpp code changed, the new properties are properly converted. Do not mark the asset as dirty when it compiles. It should only mark the asset dirty when a user does the manipulation. Any automatic conversion should be transparent for the user.
#jira UE-222447
#rb Yoan.StAmant
#p4v-cherrypick 36157962

[CL 36331606 by patrick boutot in 5.5 branch]
2024-09-17 08:06:50 -04:00
patrick boutot
b8b55784f3 StateTree: Review feedback for CL 35822194. Change the name of the command.
#rb Yoan.StAmant

[CL 36331371 by patrick boutot in 5.5 branch]
2024-09-17 07:54:21 -04:00
patrick boutot
77ad77e4e5 StateTree: Revert part of CL36113278 name check for State and Node. The FName test is obsolete.
#jira UE-222501
#rb patrick.boutot
#p4v-cherrypick 36207897

[CL 36331250 by patrick boutot in 5.5 branch]
2024-09-17 07:45:20 -04:00
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
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