Commit Graph

202 Commits

Author SHA1 Message Date
juan portillo
aeeca0af96 State Tree:
- Fix crash when on item selected passes in nullptr

#rb Mikko.Mononen
#rnx

[CL 28320705 by juan portillo in ue5-main branch]
2023-09-28 12:21:10 -04:00
juan portillo
7b64d540dc State Tree:
- Added Themes, which change the coloring of both States and Tasks (tasks showing up a bit darker)

#rb Mikko.Mononen
#jira UE-196534

[CL 28231539 by juan portillo in ue5-main branch]
2023-09-26 11:50:26 -04:00
yoan stamant
a788975f6b Fixed type conversion warnings
#rb mikko.mononen

[CL 27890994 by yoan stamant in ue5-main branch]
2023-09-14 15:23:22 -04:00
mikko mononen
f822bf3027 StateTree: Handle instanced objects when copying State Tree nodes
#jira UE-194520

[CL 27706736 by mikko mononen in ue5-main branch]
2023-09-08 05:51:43 -04:00
mikko mononen
8973ee3788 StateTree: Reset state parameters when state is changed to None
#jira UE-175756

[CL 27627656 by mikko mononen in ue5-main branch]
2023-09-06 03:32:12 -04:00
mikko mononen
db96e947ec StateTree: Fix transition validation on global tasks
[CL 27553237 by mikko mononen in ue5-main branch]
2023-09-01 08:57:41 -04:00
louisphilippe seguin
5095d0a9d7 Fix ensureMsgf(TEXT(""), ...) and checkf(TEXT(""),...) that should have been ensureMsgf(false, ...) or checkf(false, ...)
#rb [at]mikko.mononen
#rnx

[CL 27423742 by louisphilippe seguin in ue5-main branch]
2023-08-28 16:37:56 -04:00
yoan stamant
b2ca0f5c59 [StateTreeDebugger] allow debugger commands to intercept KeyEvent when debugger tab is the active widget.
Also allow user to use the scrubbing buttons at any time the same way he can manually scrub. It will then disable auto-scrolling.
#rnx
#rb mikko.mononen
#jira UE-192308
#jira UE-192323

[CL 27199010 by yoan stamant in ue5-main branch]
2023-08-18 07:32:06 -04:00
yoan stamant
f027516a12 [StateTreeDebugger] added trace status changed delegate that gets broadcasted by the StateTree module when traces are started or stopped. Debugger view can then keep recording button in sync.
#jira UE-192336
#rnx

[CL 27173965 by yoan stamant in ue5-main branch]
2023-08-17 11:23:30 -04:00
yoan stamant
153c37c593 [StateTree] Update compilation status when adding/removing/moving/disabling states
#jira UE-192309
#lockdown julien.marchand
#rb mikko.mononen

[CL 27150490 by yoan stamant in ue5-main branch]
2023-08-16 15:18:31 -04:00
yoan stamant
5339b57aaa [StateTree]
Updated compiler to ignore disabled states when getting next sibling states.
Fixed transition to enabled states inside a disabled parent state.
#rnx
#rb mikko.mononen

[CL 27112355 by yoan stamant in ue5-main branch]
2023-08-15 14:21:54 -04:00
yoan stamant
6e26cbb348 [StateTreeDebugger] add traces for Evaluators
#rnx
#rb maxime.mercier

[CL 26901368 by yoan stamant in ue5-main branch]
2023-08-07 18:06:40 -04:00
marc audy
284724b39e Remove #pragma once from cpp file
[FYI] yoan.stamant
#rnx
#jira

[CL 26871685 by marc audy in ue5-main branch]
2023-08-05 15:15:12 -04:00
yoan stamant
9f9d95d4b3 Fixed minor formatting issue in StateTreeDebugggerView
#rb trivial

[CL 26858510 by yoan stamant in ue5-main branch]
2023-08-04 15:50:38 -04:00
yoan stamant
8aba578f59 [StateTreeDebuggger] Frame details view update:
- replaced node details view by embedding property values in the tree view
- node exported text (e.g. Task, Conditions, etc) is no longer imported in struct or object to avoid problems with missing types or property types with specific requirements (e.g. Object base property needs to find the specified value). Goal is to always be able to inspect key/value pairs.
- improved hierarchy of event to improve readibility
- started adding some custom row widgets for the different event types
- reworked the toolbar to regroup the different concepts (Simulation controls, Trace recording, Trace analyzing)
#rnx
#rb mikko.mononen

[CL 26855639 by yoan stamant in ue5-main branch]
2023-08-04 14:55:23 -04:00
yoan stamant
17811fc0e8 [StateTreeDebugger]
- Tracks are no longer cleared when running multiple consecutive PIE sessions unless 'bShouldDebuggerResetDataOnNewPIESession' is set to true in the StateTree Editor Settings. Non editor session analysis will always clear tracks.
- Added dedicated button to clear track data.
- Since tracks can be preserved between PIE session clamp range of the timelines is now the longest recording duration instead of the current session duration.
- Allow goto previous active states when scrubbing past the recording duration of the current analysis session
- Scrub buttons can now be used when the session is no longer active, regardless of the autoscroll state
- Manual scrubbing no longer change auto scroll status if session is not active
#rnx
#rb mieszko.zielinski
#jira UE-191087

[CL 26641868 by yoan stamant in ue5-main branch]
2023-07-27 11:27:43 -04:00
yoan stamant
4a982ee59c Reuse existing View in StateTreeEditor when debugger tab is reopened
#jira UE-189899
#rb trivial

[CL 26413063 by yoan stamant in ue5-main branch]
2023-07-17 14:37:42 -04:00
yoan stamant
d5a434e9b3 Fix CIS 328889: Localization warnings
#rb trivial

[CL 26405475 by yoan stamant in ue5-main branch]
2023-07-17 09:12:26 -04:00
yoan stamant
1f7269cb0d [StateTreeDebugger]
- active states text is truncated to the window size in the timeline
- fixed cursor tracking when scrubbing with the buttons
- fixed TrackedCursor when scrubbing to the beginning of the timeline
- replaced toggle pause button by a single button changing icon
#rb maxime.mercier

[CL 26344112 by yoan stamant in ue5-main branch]
2023-06-30 10:38:20 -04:00
yoan stamant
b37a531b65 [StateTreeDebugger] added missing transaction when toggling Transition breakpoints (undo/redo). Also prevented State and Task breakpoint toggle from dirtying the asset.
[CL 26321894 by yoan stamant in ue5-main branch]
2023-06-29 14:37:16 -04:00
yoan stamant
8caa0ddc9c [StateTree] ResolveLeafValueStructType returns nullptr for data view with type only (null memory)
#rb mikko.mononen

[CL 26291527 by yoan stamant in ue5-main branch]
2023-06-28 13:54:43 -04:00
yoan stamant
3f326b2c0a [StateTreeDebugger]
- On breakpoint hit the tree view will select and focus on the associated state and event treeview will select the event that triggered the breakpoint
- added missing trace for exiting tasks
- scrub to the record time when breakpoint is hit so events tree view is synchronized to the right time (not the latest processed time)
#rb mikko.mononen

[CL 26268463 by yoan stamant in ue5-main branch]
2023-06-27 15:55:11 -04:00
yoan stamant
b0a6f69f4f Fixed duplicated ID in statetree asset
#jira UE-189371
#jira UE-189653
#rb none
#changelist validated

[CL 26264439 by yoan stamant in ue5-main branch]
2023-06-27 14:01:11 -04:00
yoan stamant
79ed0fe3c4 Fixed CIS Issue 326584
[CL 26256163 by yoan stamant in ue5-main branch]
2023-06-27 09:42:30 -04:00
mikko mononen
0c9e82ff6d StateTree: Show mismatching property types on property binding
- Improved formatting of State Tree error messages
- Fixed GetDataViewByID to return true on null values but valid types (e.g. context data)
- Added check if property types match for property binding widget
- Cache current property binding data for binding widget

#jira UE-168333

[CL 26230591 by mikko mononen in ue5-main branch]
2023-06-26 06:34:49 -04:00