Commit Graph

149 Commits

Author SHA1 Message Date
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
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
mikko mononen
54eb8e271f StateTree: Introduced PropertyFunctions (contributed) (take2)
- Added property functions which can be executed and chained during property binding to set values of properties

[CL 34087989 by mikko mononen in ue5-main branch]
2024-06-04 03:56:38 -04:00
sebastian arleryd
62404d2650 Fix fallout of CL 33935443
#jira UE-212289

[CL 33943494 by sebastian arleryd in ue5-main branch]
2024-05-28 12:15:48 -04:00
juan portillo
9af29af611 State Tree: aligned "Global Tasks" category name in customizations to match the category name in the class.
#rb mikko.mononen

[CL 33889770 by juan portillo in ue5-main branch]
2024-05-24 06:19:32 -04:00
justin peterson
4b5e90f42a [Backout] - CL33856504 - CIS Cook Warning
[FYI] mikko.mononen
Original CL Desc
-----------------------------------------------------------------
StateTree: Introduced PropertyFunctions (contributed)
- Added property functions which can be executed and chained during property binding to set values of properties

[CL 33868630 by justin peterson in ue5-main branch]
2024-05-23 14:06:53 -04:00
justin peterson
ba015ffcb0 [Backout] - CL33856718 - CIS Cook Warning
[FYI] mikko.mononen
Original CL Desc
-----------------------------------------------------------------
StateTrees: Display node tooltips in editor (contributed)

[CL 33868528 by justin peterson in ue5-main branch]
2024-05-23 14:03:38 -04:00
mikko mononen
6ed1879dd0 StateTrees: Display node tooltips in editor (contributed)
[CL 33856732 by mikko mononen in ue5-main branch]
2024-05-23 05:07:09 -04:00
mikko mononen
8fb0559486 StateTree: Introduced PropertyFunctions (contributed)
- Added property functions which can be executed and chained during property binding to set values of properties

[CL 33856515 by mikko mononen in ue5-main branch]
2024-05-23 04:48:59 -04:00
juan portillo
cc6661e0ff State Tree: added instance data mismatch auto-fix
#jira UE-215581
#rb mikko.mononen

[CL 33836195 by juan portillo in ue5-main branch]
2024-05-22 13:29:00 -04:00
mikko mononen
c0324add08 PropertyBindings: Introduced OnCanBindToContextStructWithIndex (contributed)
[CL 33717680 by mikko mononen in ue5-main branch]
2024-05-17 04:39:14 -04:00
jacob wang
d0a9f7e6de [State Tree] Utility Selector Editor Representation First Pass
- Editor View and Operations(debugger support not yet)
- Basic Utility Consideration Base
- Built-in Float Parameter Consideration
- Basic Blueprint Support
#rb mikko.mononen

[CL 33665793 by jacob wang in ue5-main branch]
2024-05-15 14:50:35 -04:00
jacob wang
6955641c34 [StateTree] StateTreeEditor LOCTEXT namespace text conflict
#jira UE-212673
#rb mikko.mononen

[CL 33631860 by jacob wang in ue5-main branch]
2024-05-14 12:32:12 -04:00
mikko mononen
ef8f978f83 StateTree: Various fixes how the binding sources are displayed.
- Added editor only StatePath to FStateTreeBindableStructDesc to help error reporting
- Friendlify user defined struct property names in FStateTreePropertyPath::ToString()
- Fixed FStateTreeEditorNode::GetName() to return the BP node name instead of the wrapper name
- Categorize binding sources based on state (including one section for global) in the binding popup

#jira UE-212418, UE-209016
#rb Yoan.StAmant

[CL 33623462 by mikko mononen in ue5-main branch]
2024-05-14 02:41:50 -04:00
jacob wang
c7a6fe6ffa [State Tree] Renaming common elements between Condition and the upcoming Utility Consideration
- Renamed EStateTreeConditionOperand and properties of that type.
- Renamed FStateTreeEditorNode::Indent Property.
- Corrected a few tooltips
#rb mikko.mononen, Yoan.StAmant

[CL 33614033 by jacob wang in ue5-main branch]
2024-05-13 20:48:39 -04:00
mikko mononen
8568a9a8c6 StateTree: Fix state parameter binding regression.
#jira UE-213598
#rb Mieszko.Zielinski

[CL 33391479 by mikko mononen in ue5-main branch]
2024-05-02 02:23:59 -04:00
patrick boutot
a2b5613488 Slate: Deprecate SListView::ItemHeight and STreeViewItemHeight. ItemHeight and ItemWidth are only used when the panel is is as a tile or both value are assigned. With TreeView and ListView, you can't assigned both. The function are protected, a subclass of those could but it's up to them to expose the ItemHeight and ItemWidth. This behavior changed was introduced with CL 7634094.
#jira UE-210415
#rb editor-ui-systems

[CL 33370360 by patrick boutot in ue5-main branch]
2024-05-01 08:05:39 -04:00
mikko mononen
ef148ecd80 StateTree: StateTree UI spring clean.
- Added icons and icon colors for ST nodes
- Implemented icons for some common ST nodes
- Small update to ST logic icons
- Added icons to the task list in State treeview row, adjusted task list BG color to make icons visible
- Fixed ST editor tabs icons and names (e.g. there were two tabs that had the same label)
- Moved ST node picker to separate class
- Moved category array customization to common helper function
- Added node icons to the ST node picker
- Add node button is not node selector too (simila to Niagara)
- Consolidated the add button style across all lists
- Cleaned up the node customization
  - Moved type selector, debug, and property controls into one menu at right
  - The combined menu can be also summoned using right click
  - Renaming now has to be triggered via the menu
  - Replacing node happens via menu
  - Most of the row was left "clickable" to later use it for selection
  - Improved the visualization and controls for the expression indentation
- Cleaned up state customization
  - Moved parameters to own category (similar to the tree params)
  - Moved event to the enter conditions category
- Cleaned up transition customization
  - Improved the transition display
  - Consolidated add button styles

#jira UE-180608
#rb Juan.Portillo, Mieszko.Zielinski

[CL 33030431 by mikko mononen in ue5-main branch]
2024-04-17 03:01:36 -04:00
mikko mononen
1b8b7b68ed StateTree: Fixed duplicate localizations strings.
#jira UE-212181

[CL 32997038 by mikko mononen in ue5-main branch]
2024-04-16 07:17:16 -04:00
mikko mononen
36782b28e7 StateTree: Fixed StateTree state UI to refresh properly after undo
#jira UE-185357
#rb Mieszko.Zielinski

[CL 32969250 by mikko mononen in ue5-main branch]
2024-04-15 08:05:39 -04:00
mikko mononen
af34e7cba8 StateTree: Fixed UI when undoing
- When redoing add node + set node type the property customization for the node children is reused, but we cache the node ID from the initially empty node.
- Changed FBindableNodeInstanceDetails to always get the up to date ID

#jira UE-204376
#rb Mieszko.Zielinski

[CL 32969012 by mikko mononen in ue5-main branch]
2024-04-15 07:50:58 -04:00
mikko mononen
ea3a4ae635 StateTree: Changed Task icon.
[CL 32882913 by mikko mononen in ue5-main branch]
2024-04-11 06:56:08 -04:00