sebastian nordgren
3a3f846e36
MVVM: Setting a conversion function with multiple arguments now generates a FunctionGraph in the widget blueprint that is used to call the function, which allows us to bind multiple properties to conversion functions.
...
Removed IFieldPathHelper. The functionality was moved to the editor subsystem, which made the abstraction unnecessary and unavailable to blueprint.
FBindingSource no longer contains the IsSelected member. This was very context-specific, and doesn't really make sense in the general case.
[REVIEW] [at]patrick.boutot
#jira UE-145128
#rnx
#preflight 62b9c947e77151e5996f3f36
#ROBOMERGE-OWNER: sebastian.nordgren
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20833893 via CL 20836430 via CL 20836446
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)
[CL 20838757 by sebastian nordgren in ue5-main branch]
2022-06-27 16:24:02 -04:00
patrick boutot
ca3eb26f53
MVVM: Fix crash when a field is renamed after the path was created.
...
#rb sebastian.nordgren
#prefligh 62a0a61ae820a589df465387
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20557185 via CL 20557206 via CL 20557218
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)
[CL 20559714 by patrick boutot in ue5-main branch]
2022-06-08 13:25:42 -04:00
sebastian nordgren
f034b4cf33
MVVM - FMVVMBlueprintPropertyPath can now be stored in containers due to added GetTypeHash() and list type traits override.
...
[REVIEW] [at]patrick.boutot
#rnx
#preflight 62a07b8f3f2a47521b7c46e5
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20554699 via CL 20554714 via CL 20554735
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)
[CL 20559549 by sebastian nordgren in ue5-main branch]
2022-06-08 13:19:34 -04:00
sebastian nordgren
0bb09d9457
MVVM - Removed unnecessary API tags from FunctionGraphHelper.
...
[REVIEW] [at]patrick.boutot
#rnx
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20554691 via CL 20554704 via CL 20554730
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)
[CL 20559543 by sebastian nordgren in ue5-main branch]
2022-06-08 13:19:20 -04:00
patrick boutot
37fce7d953
MVVM: First draft of the viewmodel panel.
...
#rb sebastian.nordren
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20488825 via CL 20488833 via CL 20488842
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)
[CL 20490633 by patrick boutot in ue5-main branch]
2022-06-03 14:47:48 -04:00
patrick boutot
0051f8228b
MVVM: Fix for range loop bind to temporary constructed type.
...
#rb none
#rnx none
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20364466 via CL 20364472 via CL 20364475
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)
[CL 20366301 by patrick boutot in ue5-main branch]
2022-05-25 12:09:47 -04:00
patrick boutot
a22ebd3b60
MVVM: Generate full path for Object property. It now load properly and support downcast.
...
#rb sebastian.nordgren
#prefligh 628cd4005665463c2104be4b
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20362934 via CL 20362942 via CL 20362944
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)
[CL 20366217 by patrick boutot in ue5-main branch]
2022-05-25 12:07:51 -04:00
sebastian nordgren
35fe208abe
MVVM: Added transactions and property chain notifications to SMVVMViewBindingListEntryRow.
...
#jira UE-145128
[REVIEW] [at]patrick.boutot, [at]vincent.gauthier
#rnx
#preflight 62877376286cf1867a460c97
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20294192 via CL 20294679 via CL 20294841
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)
[CL 20305133 by sebastian nordgren in ue5-main branch]
2022-05-20 18:54:53 -04:00
sebastian nordgren
15e617f2aa
MVVM: Removed FMVVMViewModelPropertyPath and FMVVMWidgetPropertyPath in favour of FMVVMBlueprintPropertyPath.
...
[REVIEW] [at]patrick.boutot
#jira UE-145128
#rnx
#preflight 6287737b1e478b95c703f783
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20293477 via CL 20293498 via CL 20293511
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)
[CL 20305090 by sebastian nordgren in ue5-main branch]
2022-05-20 18:54:05 -04:00
eric mcdaniel
ee48cd8262
Fix for uninitialized script variable FMVVMBlueprintPropertyPathBase::EBindingKind
...
#rb none
#jira none, CIS encountered
#preflight 62857fb9f239239af6ba4301
#rnx
[CL 20271209 by eric mcdaniel in ue5-main branch]
2022-05-18 19:30:02 -04:00
patrick boutot
5a5731c6b4
MVVM: Remove test code introduced with CL 20259322
...
[FYI] sebastian.nordgren
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20259838 via CL 20259880 via CL 20259885
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
[CL 20263003 by patrick boutot in ue5-main branch]
2022-05-18 12:55:05 -04:00
patrick boutot
7b72708573
MVVM: Fix bug in ViewModelBlueprint: the function graph are removed correctly and the we now use the blueprintsetter.
...
#rb sebastian.nordren
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20259332 via CL 20259333 via CL 20259334
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
[CL 20262976 by patrick boutot in ue5-main branch]
2022-05-18 12:54:21 -04:00
patrick boutot
38b2f19b88
MVVM: Blueprint Path can now support long path. A deprecation path exist. The compiler was modified to support long path. A ViewModelCreator is generated for Manual, this allow the setter to works in standalone.
...
#rb sebastian.nordgren
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20259322 via CL 20259326 via CL 20259331
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
[CL 20262972 by patrick boutot in ue5-main branch]
2022-05-18 12:54:12 -04:00
patrick boutot
02c1565203
MVVM: Use a native function to set a property on the viewmodel.
...
#rb sebastian.nordgren
#preflight 627bcb932d67896030144c3d
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20167493 via CL 20167503 via CL 20167511
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
[CL 20168560 by patrick boutot in ue5-main branch]
2022-05-12 14:55:19 -04:00
sebastian nordgren
1828823aea
MVVM - Removed unnecessary SetBindingReference() overload.
...
[REVIEW] [at]vincent.gauthier, [at]patrick.boutot
#jira UE-147743
#preflight 62690d6d4c09420241070e76
#rnx
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 20165329 via CL 20165339 via CL 20165348
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
[CL 20167597 by sebastian nordgren in ue5-main branch]
2022-05-12 13:58:05 -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
cfe2d6be17
MVVM: Convert function path to member reference. Use the proper function skel class when compiling the conversion function.
...
#rb vincent.gauthier
#prelfight 6273eb01de15651eeb3547de
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20059860 via CL 20059875 via CL 20059885
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
[CL 20062060 by patrick boutot in ue5-main branch]
2022-05-05 14:31:09 -04:00
eric mcdaniel
1c6e278160
Fix for uninitialized script struct member causing validation failure on QAGame cook
...
- default FMVVMPropertyPathBase::BindingKind to Function to pass validation test AttemptToFindUninitializedScriptStructMembers
- testing
- BCR of Win64 QAGame locally
#rb none, trivial
#jira UE-151201
#preflight 62740ff1fd59d6606efbfc16
[CL 20061256 by eric mcdaniel in ue5-main branch]
2022-05-05 14:11:44 -04:00
sebastian nordgren
2301e39ae9
MVVM - Fixes to compiler error messages.
...
[REVIEW] [at]vincent.gauthier, [at]patrick.boutot
#jira UE-145736
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 19937262 via CL 19937283 via CL 19937304
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
[CL 19938019 by sebastian nordgren in ue5-main branch]
2022-04-27 08:52:49 -04:00
sebastian nordgren
a9201fd96c
MVVM - Invalid error message that complains about duplicate setter functions no longer triggers.
...
[REVIEW] [at]vincent.gauthier, [at]patrick.boutot
#jira UE-145736
#preflight 62690d794c09420241070ee6
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 19937258 via CL 19937276 via CL 19937300
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
[CL 19938018 by sebastian nordgren in ue5-main branch]
2022-04-27 08:52:41 -04:00
vincent gauthier
9e0c26955b
Correction to ViewModels Creation errors to add more information for user to be able to act on it.
...
#jira UE-149444
#rb daren.cheng
#ROBOMERGE-AUTHOR: vincent.gauthier
#ROBOMERGE-SOURCE: CL 19835496 via CL 19849372 via CL 19850834
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)
[CL 19853365 by vincent gauthier in ue5-main branch]
2022-04-21 14:45:21 -04:00
sebastian nordgren
958fcafdce
Fixed duplicated condition detected by static analysis in UE::MVVM::FunctionGraphHelper::GenerateViewModelFieldNotifySetter().
...
#rb paul.chipchase
#preflight 625e65addb15ac92db87107a
#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 19805445 via CL 19805448 via CL 19805450
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v939-19570697)
[CL 19811595 by sebastian nordgren in ue5-main branch]
2022-04-19 13:09:29 -04:00
patrick boutot
f381f16a34
MVVM: First version of the viewmodel editor
...
#rb sebastien.nordgren, daren.cheng
#preflight 6256afff2b4502493e72edc2
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19742639 via CL 19743098 via CL 19743424
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)
[CL 19745035 by patrick boutot in ue5-main branch]
2022-04-13 16:06:35 -04:00
patrick boutot
e00f1f9f99
MVVM: TryGetPropertyTypeForConversionFunction use the correct ALL flags. Fix typo. Fix CIS warning about duplicate test.
...
[REVIEW] sebastian.nordgren
#jira UE-148376
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19718764 via CL 19719176 via CL 19719243
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)
[CL 19720257 by patrick boutot in ue5-main branch]
2022-04-12 10:00:52 -04:00
patrick boutot
d4eb795f50
MVVM:
...
Compiler support convertion function.
Reset the compiled library after compilation (prevents multiple loading).
Initialize the widget generated class FieldId after a compilation.
When compiling Skel, the class is not link. Property may not be found with FindFieldByName because they were just created.
MVVM message log was not initialized.
Fix nullptr deferecing warning.
#rnx
#rb 19686188
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19705236 via CL 19705239 via CL 19705248
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)
[CL 19705732 by patrick boutot in ue5-main branch]
2022-04-11 09:56:01 -04:00