Since BP floats default to double precision, we need to relax binding requirements. Most UMG widgets uses delegates that expect single-precision floats, so we need to allow float<->double conversion in the UFloatBinding layer. Without this change, we can't bind any new float variables in UMG, which makes the feature fairly useless.
The fix simply updates UFloatBinding::IsSupportedSource to allow double properties. Additionally, when we need to retrieve the underlying value, we need to inspect the property first. If it's a double, we'll perform a cast. Otherwise, it defaults to existing behavior.
#rb patrick.boutot
#preflight 6262f238cf17922036d8d169
#jira UE-148560
#ROBOMERGE-AUTHOR: dave.jones2
#ROBOMERGE-SOURCE: CL 20380365 in //UE5/Release-5.0/... via CL 20383016
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)
[CL 20385730 by dave jones2 in ue5-main branch]
Setters and getters are native functions called by FProperties when setting property values with *_InContainer functions.
Setters and getter function names can be manually specified with Setter = Func and Getter = Func keywords inside of UPROEPRTY macro but they will also be automatically parsed if the name is not explicitly specified if the setter or getter function name matches SetPropertyName and GetPropertyName pattern.
The latter behavior can be disabled in UHT's DefaultEngine.ini by setting AutomaticSettersAndGetters=False.
ImportText and ExportTextItem functions have been deprecated and should be replaced with *_InContainer or *_Direct variants.
#rb Steve.Robb
#preflight 6210a377a83e0bcefd03d9e1
#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19070318 via CL 19098059 via CL 19104650 via CL 19104661 via CL 19110012
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)
[CL 19147839 by marc audy in ue5-main branch]
Added test actor to PropertyEditorTestObject.h to allow for testing actor things, like this GetOptions multiselection bug.
Fixed whitespace errors caused by mismerge.
#jira UE-109745
#rb paul.chipchase
[CL 15604138 by sebastian nordgren in ue5-main branch]
Static analyzer always evaluates expressions in check(), despite DO_CHECK=0 due to implementation of check():
#define check(expr) { CA_ASSUME(expr); }
If checked expression depends on something that's wrapped in `#if DO_CHECK`, it will produce a compile error. The fix is to add USING_CODE_ANALYSIS condition where applicable.
#robomerge Release-5.0-EarlyAccess
#rb Steve.Robb
[CL 15527660 by Yuriy ODonnell in ue5-main branch]
Refactored FindField into FindUField and FindFProperty to avoid confusion caused by the fact that FindField<UField> will no longer return FProperties.
#jira UE-90683
#rb Steve.Robb
#tests Basic editor functionality test, cooked and ran PC client and server, bot soak tests for two hours
#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 12190998 in //UE4/Release-4.25/... via CL 12190999
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v661-12148976)
[CL 12191300 by robert manuszewski in Main branch]
#rb Bob.Tellez
#ROBOMERGE-SOURCE: CL 11309948 via CL 11309980 via CL 11309993
#ROBOMERGE-BOT: (v653-11302973)
[CL 11311368 by robert manuszewski in Main branch]
#rnx
#rb none
#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)
[CL 10870549 by ryan durand in Main branch]
#ROBOMERGE-OWNER: nick.darnell
#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 6626032 via CL 6626064 via CL 6626939
#ROBOMERGE-BOT: (vundefined-6620334)
[CL 6627092 by nick darnell in Main branch]
Merging
//Tasks/Fortnite/Dev-UEA-ControlRig/...
to //Fortnite/Main/...
[FYI] lina.halper
#ROBOMERGE-SOURCE: CL 6597997 via CL 6601432
#ROBOMERGE-BOT: (v351-6581450)
[CL 6601520 by helge mathee in Main branch]
//Tasks/Fortnite/Dev-UEA-ControlRig/...
to //Fortnite/Main/...
Fixed memory corruption crash in edge cases (when compiling several times in a row)
Fixed order of execution problems with large graphs
Fixed drawing of connection lines when panning around in the graph
New Animation category nodes: Ease, Curve Evaluation, Delta Time
New Simulation category nodes: Accumulate, Average, Value over Time
New Hierarchy category nodes: Set / Get Bone rotation, Offset Transform
#rb: Thomas.Sarkanen, Helge.Mathee
[FYI] Laurent.Delayen, Danny.Bouimad
#jira: many
#ROBOMERGE-SOURCE: CL 5829009 via CL 5835086
[CL 5835589 by lina halper in Main branch]
Bitfield tests were passing or failing intermittently under VS2015 because of uninitialized variables in the test code. VS2017 was failing consistently, as was PS4.
Fixed bitfield tests by supplying partial specializations of helper functions for bool/bitfield properties.
Also added a test for copying between two bitfields.
#jira UE-58884 - //UE4/Main - Run Automated Tests Cooked PS4 - ' Error: InTestValue == NewValue BitfieldProperty2: The two values are not equal.
#rb Graeme.Thornton
#lockdown Nick.Penwarden
[CL 4064271 by Thomas Sarkanen in Main branch]