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
daren cheng
81f233298e
Cleanup MVVM Field to MemberReference conversion
...
#jira UE-146752
#rb Patrick.Boutot
#preflight skip
[CL 19654619 by daren cheng in ue5-main branch]
2022-04-06 16:13:51 -04:00
sebastian nordgren
f5486be90c
Removed static function limitation on conversion functions, which allows us to use functions defined on the UserWidget as conversion functions.
...
Formatting of errors changed to include the binding name (SourceObject.SourceProperty <-/<->/-> DestObject.DestProperty). Errors are now stored in the binding object again.
Renamed GetConversionFunctionPath to SourceToDestinationFunctionPath and SetConversionFunctionPath to DestinationToSourceFunctionPath.
#jira UE-148310
#review-19644346 @editor-ui-systems
#preflight 624d590e7d2eea4e18eddbb0
[CL 19645570 by sebastian nordgren in ue5-main branch]
2022-04-06 08:17:40 -04:00
daren cheng
dc02aacea5
Make MVVM PropertyPath reference getters / setters via FMemberReference.
...
#jira UE-146752
#rb Patrick.Boutot
#preflight 624cee38a64871f1a115f467
[CL 19639440 by daren cheng in ue5-main branch]
2022-04-05 22:00:18 -04:00
Patrick Boutot
d831ff9671
MVVM: Enable the bExposeOnSpawn flag on viewmodel property. Make sure the setter for viewmodel has the correct name.
...
#preflight 624c38133a5a4c1622052a1f
[CL 19623267 by Patrick Boutot in ue5-main branch]
2022-04-05 08:43:49 -04:00
gtreshchev
970b7dce2b
PR #9047 : Using scope resolution operator to fix MVVM compilation (Contributed by gtreshchev)
...
#rb sebastian.nordgren
#preflight 624c3715470aff98e9af91df
[CL 19623228 by gtreshchev in ue5-main branch]
2022-04-05 08:41:43 -04:00
Patrick Boutot
2fc09cd803
Fix missing include.
...
#rnx
#jira UE-148054
#rn none
#preflight none
[CL 19611547 by Patrick Boutot in ue5-main branch]
2022-04-04 13:15:12 -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