17 Commits

Author SHA1 Message Date
patrick boutot
3cc97f0ad7 MVVM: If we are not allowed to add the view, remove all the generated functions added by the view.
#rb none
#jira UE-130879

[CL 26881565 by patrick boutot in 5.3 branch]
2023-08-07 09:54:21 -04:00
patrick boutot
6362905afd MVVM: Fix conversion function with multiples input paths.
Bindings will only be executed once at initialization. The bug happend when more than once source can activate the same binding.
Binding can now be OneWay if at least one argument is a FieldNotify. Otherwise it needs to be a OneTime.
Binding that has hardcoded value, no paths, are now supported.
#rb vincent.gauthier

[CL 26845984 by patrick boutot in 5.3 branch]
2023-08-04 10:43:00 -04:00
patrick boutot
81e077a7d4 MVVM: Add option to generate conversion graph when compiling and not saved in the packages.
Useful when graph cannot be saved.
#jira UE-130879

[CL 26614351 by patrick boutot in 5.3 branch]
2023-07-26 13:51:11 -04:00
patrick boutot
3bf46e8ebb MVVM: Add a message at compile time when 2 views will be use at runtime.
#preflight 646e63f84422ba05f4286e65

[CL 25635282 by patrick boutot in ue5-main branch]
2023-05-25 19:34:21 -04:00
patrick boutot
2fba638de9 MVVM: Do not add the view if there is no bindings.
#preflight 6464e2252d446eac96c956df

[CL 25508628 by patrick boutot in ue5-main branch]
2023-05-17 11:52:48 -04:00
danny couture
2959cc678f Temporary stopgap to prevent blueprint compilation from ALT in editor from trying to preload objects
#rnx
#rb Francis.Hurteau
#preflight trivial

[CL 25240075 by danny couture in ue5-main branch]
2023-04-28 16:33:48 -04:00
patrick boutot
6952a33198 Gather search data for the BlueprintExtension. Used by the FindInBlueprint system.
#rb phillip.kavan, dan.oconnor
#preflight 643ee91b9566b614505c1b29

[CL 25104434 by patrick boutot in ue5-main branch]
2023-04-19 08:26:32 -04:00
patrick boutot
06a212dc01 MVVM: Add option to not add the compiled result to the final GeneratedClass. Used for property validation.
[CL 24884489 by patrick boutot in ue5-main branch]
2023-04-01 02:41:19 -04:00
zahra nikbakht
f6c07441c6 Disable/enable context filtering in MVVM binding creation through project settings or a temporary checkbox
#preflight 641c89d9a86ae7cbcce4dae3
#rb patrick.boutot
#jira UE-180197

[CL 24766690 by zahra nikbakht in ue5-main branch]
2023-03-23 15:27:54 -04:00
zahra nikbakht
e206fdedb6 - Move the list of messages (errors, warnings, info) from the bindings themselves to the owning viewmodel.
- Add a border on each MVVM binding row in the list view of bindings that changes color to red/yellow if there is any error/warning for that binding
- detect if a property is bound to both a MVVM binding and a legacy binding at the same time and add a warning for it.
#jira UE-170983
#jira UE-170403
#rb patrick.boutot, vincent.gauthier
#preflight 6414c614ca2afe3ee6b1c7c8

[CL 24695764 by zahra nikbakht in ue5-main branch]
2023-03-17 16:33:42 -04:00
henrik karlsson
2f78497e67 [Engine/Plugins]
* Updated private files with IWYU for all plugins which had 3 or less changes made in ue5 main since last integration to fn

#preflight 63bf8d8b577437afe607dc72
#rb none

[CL 23659643 by henrik karlsson in ue5-main branch]
2023-01-12 01:48:34 -05:00
sebastian nordgren
6c38a45a61 MVVM - Blueprint view is now transactional, which causes undo to function in many cases that did not work before.
#jira UE-166281
[REVIEW] [at]patrick.boutot
#rnx
#preflight 63974ffd2960b7322075bf84

[CL 23499759 by sebastian nordgren in ue5-main branch]
2022-12-13 18:12:47 -05:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00
Patrick Boutot
deb4338cda MVVM: Compile complex conversion functon and execute them as a regular binding.
#rb sebastian.nordgren
#prefligh 63062f5c5366f61a42bced80

[CL 21544671 by Patrick Boutot in ue5-main branch]
2022-08-24 13:14:51 -04:00
patrick boutot
7a499cf935 MVVM: Use the viewmodel name instead of the class name. Create the menu to add a viewmodel. Use a UClass of any class at implement the NotifyFieldValue interface in BlueprintViewModelContext instead a ViewModelBase class.
#rb sebastien.nordgren
#preflight 62bc45213771c5710de91653

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20874026 via CL 20881496 via CL 20881723
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20885743 by patrick boutot in ue5-main branch]
2022-06-29 19:00:59 -04:00
patrick boutot
99e021c9de MVVM: Add add EMVVMBlueprintViewModelContextCreationType::Manual. An option for how to create/select a view model.
Rename a graph temporary function when the compiler didn't requested a GC at the end of the compilation.
#rb sebastian.nordgren

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20106550 via CL 20107643 via CL 20108182
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20110552 by patrick boutot in ue5-main branch]
2022-05-09 16:35:28 -04:00
Patrick Boutot
5cc291be88 MVVM: Move the ModelViewViewModel plugin to //UE5/Main/
#preflight 62471b2edc6183e3f51a8a07
#preflight 62473c85f73c316f680acef9

[CL 19592606 by Patrick Boutot in ue5-main branch]
2022-04-01 14:21:11 -04:00