Commit Graph

1568 Commits

Author SHA1 Message Date
robert manuszewski
d278b31acb Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 62921429172dce3e61b64335

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20407208 via CL 20407223 via CL 20407350 via CL 20407425
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20408514 by robert manuszewski in ue5-main branch]
2022-05-28 11:52:55 -04:00
edwin maynard
1ca7c7756d Back out changelist 20397596
[FYI] Nick.Darnell


#ROBOMERGE-AUTHOR: edwin.maynard
#ROBOMERGE-SOURCE: CL 20400220 via CL 20400224 via CL 20400228
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20401296 by edwin maynard in ue5-main branch]
2022-05-27 19:31:56 -04:00
nick darnell
71f7a858ed UMG - Further refining the named slot inheritance, we now extend the inheritance through multiple parent classes, and if a parent uses up a slot, then that slot becomes unavailable to subclasses to then be extended. They cans also introduce new named slots along the way, so as it refines the structure, it can refine the available named slots.
[REVIEW] [at]ui-editor-systems

#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 20397596 via CL 20397619 via CL 20397628
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20401193 by nick darnell in ue5-main branch]
2022-05-27 19:29:50 -04:00
nick darnell
c227e52edb UMG - Introducing named slot inheritance. This new feature allows parent classes to insert named slots into their hierarchy, and for child classes to insert content into those named slots. This in effect will give people the ability to build base class templates and then derive them to further refine the look and feel in those named slots for the widgets specific purpose. For example, you could make a message box base class widget, with a few named slots for specific specialized message boxes without having to build a new widget from scratch.
[REVIEW] [at]ui-editor-systems

#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 20383614 via CL 20384610 via CL 20384741
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20386425 by nick darnell in ue5-main branch]
2022-05-26 17:58:02 -04:00
dave jones2
f8e134ef3c UE-148560 - Unable to bind Float variables to certain properties in Widget elements
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]
2022-05-26 17:11:05 -04:00
jorge gonzalez
d000a52aa5 Notifies users if a User Widget has a null animation track, prompting them to delete or rebind said track. Deleting null animation tracks can improve performance on larger user widgets.
#ROBOMERGE-AUTHOR: jorge.gonzalez
#ROBOMERGE-SOURCE: CL 20372239 via CL 20372260 via CL 20372279
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20373433 by jorge gonzalez in ue5-main branch]
2022-05-25 19:32:58 -04:00
ludovic chabant
47c7e35c42 Sequencer: Add more descriptive stat for each property type (instead of Apply Properties for all property types)
#rb andrew.rodham
#jira none
#preflight 628e52102c7cb2d10d6da7e9

[CL 20366489 by ludovic chabant in ue5-main branch]
2022-05-25 12:13:53 -04:00
patrick boutot
eb44483859 UMG: GetWidgetTreeOwningClass use the widget class instead of the WidgetTree's owner.
#rb nick.darnell

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20363241 via CL 20363381 via CL 20363410
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20366238 by patrick boutot in ue5-main branch]
2022-05-25 12:08:23 -04:00
nick darnell
f5e4384f07 UMG - Adding comments to the NamedSlotInterface.
#trivial

#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 20327622 via CL 20327631 via CL 20327651
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20329462 by nick darnell in ue5-main branch]
2022-05-23 11:47:52 -04:00
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
Jeremy Moore
ff967b1163 Remove PRIMITIVE_SCENE_DATA_FLAG_DRAWS_VELOCITY and only use PRIMITIVE_SCENE_DATA_FLAG_OUTPUT_VELOCITY.
Tidy up use of FPrimitiveSceneProxy velocity getters.
Now DrawsVelocity() is only for velocity relevance.
And HasDynamicTransform() is for determining if we need to store previous transform state.
VSM caching was using PRIMITIVE_SCENE_DATA_FLAG_DRAWS_VELOCITY so replaced that with PRIMITIVE_SCENE_DATA_FLAG_SHOULD_CACHE_SHADOW which should use the old behavior and can be tweaked in future using ShouldCacheShadow().

A common pattern for determining whether to output velocity now is to check if a previous transform exists, and to OR in AlwaysHasVelocity().
I found some proxy types that don't check for previous transform.
Also I found that the debug physics aggregate types *never* check for previous transform.
These are pre-existing potential bugs for fixing in another pass.

Also I found some proxies that don't currently fill out velocity relevance.
These are pre-existing potential bugs for fixing in another pass.

#preflight 62863f789016c6dd897f1cd2
#fyi andrew.lauritzen

[CL 20279797 by Jeremy Moore in ue5-main branch]
2022-05-19 10:08:15 -04:00
Vincent Gauthier
fb6073e681 Adding MoveTemp to previous CL.
#rb trivial
#preflight none
#jira FORT-475015

[CL 20244283 by Vincent Gauthier in ue5-main branch]
2022-05-17 11:41:50 -04:00
Vincent Gauthier
ec60245a1d Fix to DrawLine Blueprint API and conversion to float for LWC changes
#jira FORT-475015
#rb patrick.boutot
#preflight 6283b138114e08fa2f1e881c

[CL 20242836 by Vincent Gauthier in ue5-main branch]
2022-05-17 10:42:03 -04:00
patrick boutot
c13c9171d5 UMG: Update Spacer, SizeBox, UniformGridPanel, WrapBox with accessors.
#rb sebatian.nordgren
#preflight 627d28dc4a05ef0394cc5375

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20222541 via CL 20222575 via CL 20222581
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20225020 by patrick boutot in ue5-main branch]
2022-05-16 11:21:09 -04:00
vincent gauthier
63dcd6988c Fix to DrawLine Blueprint API
#rb patrick.boutot
#prefllight 627fd8343339713c4a9d9228

#ROBOMERGE-AUTHOR: vincent.gauthier
#ROBOMERGE-SOURCE: CL 20199919 via CL 20199960 via CL 20199968
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20200995 by vincent gauthier in ue5-main branch]
2022-05-14 16:50:49 -04:00
daren cheng
441b2451da Fix bad merge MVVM change
#rb trivial

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 20193308 via CL 20193313
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20193494 by daren cheng in ue5-main branch]
2022-05-14 00:10:58 -04:00
daren cheng
e9549e929b Modify MVVM code generation to include module _API declarations.
By Patrick.Boutot.

#jira UE-149304
#preflight 627ec564d302e2cec852e3b5
#rb Daren.Cheng
[FYI] Patrick.Boutot

#ROBOMERGE-OWNER: daren.cheng
#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 20192647 via CL 20193234 via CL 20193246 via CL 20193249
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20193488 by daren cheng in ue5-main branch]
2022-05-14 00:09:48 -04:00
patrick boutot
8aa78f8ef8 UMG: Update ProgressBar with accessors.
#preflight 627d2789a82f3adab87f308d

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20180175 via CL 20180179 via CL 20180185
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20180880 by patrick boutot in ue5-main branch]
2022-05-13 10:16:22 -04:00
patrick boutot
e7fc3f9e55 UMG: Update UWidget::Visibility initialization from SetVisibility to SetVisibilityInternal.
[FYI] vincent.gauthier

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20142060 via CL 20143142 via CL 20143633
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20148091 by patrick boutot in ue5-main branch]
2022-05-11 15:55:37 -04:00
patrick boutot
4f178c7f0c UMG: Update the Widget with accessors.
#rb vincent.gauthier
#preflight 627a4e42705bfaf9ae31ee20

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20123512 via CL 20123528 via CL 20123564
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20125750 by patrick boutot in ue5-main branch]
2022-05-10 13:53:03 -04:00
patrick boutot
8b5e983a4b UMG: Update the Border widget with accessors.
#preflight 62792bf6822bdc69f0101954

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 20104249 via CL 20104272 via CL 20104285
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20109749 by patrick boutot in ue5-main branch]
2022-05-09 15:48:48 -04:00
vincent gauthier
90fa36d823 UMG: Update the EditableText widget with accessors.
#jira UE-145352
#preflight 62740cdbca0ad32a96854536
#rb patrick.boutot

#ROBOMERGE-OWNER: vincent.gauthier
#ROBOMERGE-AUTHOR: vincent.gauthier
#ROBOMERGE-SOURCE: CL 20102005 via CL 20102010 via CL 20102162 via CL 20102166
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20108834 by vincent gauthier in ue5-main branch]
2022-05-09 15:19:49 -04:00
vlad golovan
f272659b97 Adding a bool to prevent throttling in the scroll bar. Fixes an issue where list view entries didn't update when scrolling while holding scroll bar.
[REVIEW] [at]marshall.beachy, [at]jay.Nakai
#rb daren.cheng

#ROBOMERGE-AUTHOR: vlad.golovan
#ROBOMERGE-SOURCE: CL 20062084 via CL 20062137 via CL 20062154
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20066234 by vlad golovan in ue5-main branch]
2022-05-05 18:41:33 -04:00
dave jones2
1d36b62d36 UE-148463 - Update cumulative time tracking Engine variables to doubles
As a part of the LWC work, this change primarily focues on updating FGameTime and UWorld to use doubles for accumulated time. Note that time deltas will remain as floats.

Additionally:

* A few time-related BP functions were updated to use doubles where appropriate. as well as the FRenderThreadUpdateContext struct for the Slate renderer.
* Some compilation errors were also fixed due to the change.
* Minor changes of float literals to drop the 'f' suffix.

#rb andrew.davidson
#jira UE-148463
#preflight 62603748e30cb43e8cbf2aa7

[CL 19866207 by dave jones2 in ue5-main branch]
2022-04-22 11:57:28 -04:00
vlad golovan
745678d833 SpinBox option to disable sliding in cases where you don't need sliding and just looking for numeric entry box
#rb daren.cheng
[REVIEW] [at]marshall.beachy, [at]jay.Nakai

#ROBOMERGE-AUTHOR: vlad.golovan
#ROBOMERGE-SOURCE: CL 19790338 via CL 19790349 via CL 19790358
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v939-19570697)

[CL 19809448 by vlad golovan in ue5-main branch]
2022-04-19 11:27:45 -04:00