patrick boutot
32891330a9
MVVM: Change the description when there is no viewmodel or bindings or events. Change the condition for when adding the view to the Generated UserWidget.
...
#jira UE-201683
[CL 30049922 by patrick boutot in ue5-main branch]
2023-12-01 14:57:43 -05:00
patrick boutot
fa42c9b609
MVVM: Rework for the view runtime data. The new format allows for better error detection and new features in progress. The view owns the bindings and events. The source has a list of the bindings. That saves runtime of memory, the delegate doesn't store the binding id. All bindings, events, sources are now sorted for better incremental build performance.
...
Add a different "key" structures to prevent mistakes with indexes.
Unregister the delay bindings when the source is released.
Store the FieldId, in the source itself. That reduces the amount of work when loading the view.
Add option to delay the events initialization (like we do for bindings).
The binding to evaluate "long path" view models are now separated from regular bindings.
#jira UE-194167
#rb editor-ui-systems
[CL 30042205 by patrick boutot in ue5-main branch]
2023-12-01 11:13:35 -05:00
patrick boutot
158eed9d9c
MVVM: Enable setter flag by default. Add flag to generate a public getter. Change the display logic for the optional flag and the setter flag.
...
#rb editor-ui-systems
[CL 30041317 by patrick boutot in ue5-main branch]
2023-12-01 10:43:39 -05:00
patrick boutot
205c1853b9
MVVM: Event do not save the pin id. The graph is rebuilt and the id is new everytime. Warn the user, at compile, when a pin is orphaned. Fix event's setter on the UserWidget (the index is -1 because of that).
...
#rb editor-ui-systems
#jira UE-130879
[CL 30039594 by patrick boutot in ue5-main branch]
2023-12-01 09:37:20 -05:00
patrick boutot
07fb8f1055
MVVM: Setter inside a struct is now supported. PropertyPath like Viewmodel.StructA.StructB.Value. It will use the property setter and requires a blueprint graph.
...
[CL 29894383 by patrick boutot in ue5-main branch]
2023-11-22 14:33:59 -05:00
patrick boutot
a19c147863
MVVM: When filtering the field in the editor, use the previous container to check if the property is allowed.
...
[CL 29893350 by patrick boutot in ue5-main branch]
2023-11-22 13:56:56 -05:00
patrick boutot
bc045e2b86
MVVM: Add error at the end of the line. Future work with setter and conversion function require space in front of the binding.
...
[CL 29892696 by patrick boutot in ue5-main branch]
2023-11-22 13:37:47 -05:00
patrick boutot
486a1c9515
MVVM: Add function to resolve the PropertyPath.
...
[REVIEW] editor-ui-systems
[CL 29891950 by patrick boutot in ue5-main branch]
2023-11-22 13:12:26 -05:00
zahra nikbakht
47402c63ee
MVVM: fix the issue with deletion of a whole binding group: some bindings from other groups were deleted and some bindings from the target group remained. A reverse loop is needed because we are deleting the elements that BindingsToRemove is pointing to in the original Bindings array.
...
#jira UE-194203
[CL 29845936 by zahra nikbakht in ue5-main branch]
2023-11-20 13:56:12 -05:00
patrick boutot
d145d441ec
Fix localization waring initroduced with CL 29815759
...
#issue 399399
#rb none
[CL 29839871 by patrick boutot in ue5-main branch]
2023-11-20 08:10:01 -05:00
patrick boutot
3e38401639
MVVM: Backout change that make widget private when not enabled via the "is variable". Assets need to be fixed before reenabling.
...
#rb trivial
[CL 29818028 by patrick boutot in ue5-main branch]
2023-11-17 15:09:55 -05:00
patrick boutot
2ab80be567
MVVM: Big rework of the MVVM view compiler. It add supports for conversion function to go from complex to simple. Supports pin split on simple conversion function. Add ability to to support setter function with more than one argument. Build the list of all the sources.
...
#jira UE-200602, UE-200602, UE-200602, UE-200602, UE-200602
#rb editor-ui-systems
[CL 29815789 by patrick boutot in ue5-main branch]
2023-11-17 14:09:15 -05:00
bob tellez
f98456e469
[Backout] - CL29797661
...
[FYI] Patrick.Boutot
Original CL Desc
-----------------------------------------------------------------
MVVM: Big rework of the MVVM view compiler. It add supports for conversion function to go from complex to simple. Supports pin split on simple conversion function. Add ability to to support setter function with more than one argument. Build the list of all the sources.
#jira UE-200602, UE-200602, UE-200602, UE-200602, UE-200602
#rb editor-ui-systems
[CL 29801739 by bob tellez in ue5-main branch]
2023-11-16 23:04:14 -05:00
patrick boutot
c362983f9f
MVVM: Big rework of the MVVM view compiler. It add supports for conversion function to go from complex to simple. Supports pin split on simple conversion function. Add ability to to support setter function with more than one argument. Build the list of all the sources.
...
#jira UE-200602, UE-200602, UE-200602, UE-200602, UE-200602
#rb editor-ui-systems
[CL 29797678 by patrick boutot in ue5-main branch]
2023-11-16 20:11:58 -05:00
patrick boutot
0bb197807d
MVVM: Test if a field is allowed base on the path, not only on the field owner. That allow to have a Widget's property allowed on a child widget but not on the base widget.
...
#rb editor-ui-systems
[CL 29753638 by patrick boutot in ue5-main branch]
2023-11-15 13:51:32 -05:00
patrick boutot
0b2998c534
MVVM: Cache the default execution mode for performance.
...
#rb editor-ui-systems
[CL 29517618 by patrick boutot in ue5-main branch]
2023-11-07 07:37:01 -05:00
marc audy
ede7baf6ab
warning V700: Consider inspecting the 'T foo = foo = ...' expression. It is odd that variable is initialized through itself.
...
#rnx
[CL 29481709 by marc audy in ue5-main branch]
2023-11-05 17:30:41 -05:00
marc audy
59f0feb3e4
Fix warning V595: The pointer was utilized before it was verified against nullptr.
...
#rnx
[CL 29459035 by marc audy in ue5-main branch]
2023-11-04 01:30:32 -04:00
patrick boutot
32d96bd882
MVVM: Test permission setting with the authorithy class.
...
#jira UE-194167
[CL 29434496 by patrick boutot in ue5-main branch]
2023-11-03 20:44:49 -04:00
bob tellez
268fb34791
#UE Make cvar access static for MVVM.DefaultExecutionMode
...
[FYI] Patrick.Boutot
[CL 29423452 by bob tellez in ue5-main branch]
2023-11-03 17:28:46 -04:00
patrick boutot
6742e93da3
MVVM: Reset the NumReplicatedProperties when building an InstancedViewModel.
...
[CL 29111632 by patrick boutot in ue5-main branch]
2023-10-25 20:21:08 -04:00
patrick boutot
bc194e6447
MVVM: Split and recombine structure argument for conversion function parameters and events parameters.
...
Fix event broadcast when a ViewBinding changes.
Add option to reparents the viewmodel class. Force the list to be repainted when the viewmodel changes. That helps with display names when the viewmodel is renamed and with graphpin that needs to be rebuilt.
#jira UE-164353-ui-systems
[CL 29045441 by patrick boutot in ue5-main branch]
2023-10-24 10:12:34 -04:00
patrick boutot
95bdea3abd
MVVM: Mark autogenerated functions transient when requested. That can create function to be null when loaded. We want to execute the function and compile the functions in the editor but we want to recreate them on every reload.
...
#jira UE-164353
[CL 28973846 by patrick boutot in ue5-main branch]
2023-10-20 14:23:38 -04:00
patrick boutot
2580c374df
MVVM: Change the description of the MVVM settings in the settings windows for "UMG Model View Viewmodel".
...
#jira UE-164316
[CL 28965963 by patrick boutot in ue5-main branch]
2023-10-20 10:49:52 -04:00
patrick boutot
52e687f13f
MVVM: Instead of saving the name of the root widget for self reference, use a different flag. When the Blueprint asset is renamed the root widget is also renamed and self reference do not work anymore. Redirect the previously saved reference.
...
IsEmpty is renamed to IsValid. It used to be that we wanted to know if there was a source and a path but now the IsEmpty is confusing.
Fix Widget rename for conversion function pins and event pins.
#jira UE-191812
[REVIEW] editor-ui-systems
[CL 28965810 by patrick boutot in ue5-main branch]
2023-10-20 10:45:57 -04:00