Commit Graph

757 Commits

Author SHA1 Message Date
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
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
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
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
patrick boutot
aab0524385 UMG: Update the Slider widget with accessors.
#preflight 62582e2d946114248db734d5

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19759850 via CL 19760019 via CL 19760159
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v939-19570697)

[CL 19802099 by patrick boutot in ue5-main branch]
2022-04-18 23:30:29 -04:00
patrick boutot
a5ae0a9bf9 UMG: Fix matching macro in TextBlock
#jira UE-149097
#rnx
#rb none
#preflight none

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19758369 via CL 19758399 via CL 19758428
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v939-19570697)

[CL 19802052 by patrick boutot in ue5-main branch]
2022-04-18 23:29:44 -04:00
patrick boutot
00509a3076 UMG: Update the TextBlock widget with accessors.
#rb daren.cheng, sebastien.nordgren
#preflight 6256b877c869cc25414cda6d

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19738533 via CL 19738538 via CL 19738551
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19740125 by patrick boutot in ue5-main branch]
2022-04-13 10:57:51 -04:00
patrick boutot
f7bde57dad UMG: Update the CheckBox widget with accessors.
#preflight 62561578e27df1c5d3951a1f

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19737718 via CL 19737724 via CL 19737725
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19737930 by patrick boutot in ue5-main branch]
2022-04-13 07:44:13 -04:00
Patrick Boutot
dbdabf361e UMG: Modify the FieldNotification Descriptor to support Field generated in BP.
#preflight 622f59c10a342dea04ed1523
#preflight 62312cce6e25767a21819527

[CL 19399728 by Patrick Boutot in ue5-main branch]
2022-03-15 20:43:07 -04:00
erin wasik
43b46e512f Common TextBlocks: add options for enabling/disabling scroll style for marqueeing text
- handles ellipsis when scrolling. it should be off and when no longer scrolling it should revert to its desired setting

[REVIEW] [at]editor-ui-systems
#rb [at]vincent.gauthier
[FYI] [at]jesse.raymond, [at]michail.michail

#ROBOMERGE-AUTHOR: erin.wasik
#ROBOMERGE-SOURCE: CL 19354851 via CL 19354907 via CL 19355910 via CL 19357541 via CL 19357717
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19359151 by erin wasik in ue5-main branch]
2022-03-11 14:31:02 -05:00
Patrick Boutot
d2da90a7a5 UMG: Expose RemoveAllFieldValueChangedDelegates to IFieldValueChanged.
#rb vincent.gauthier
#preflight 6228c3dd31133a23da83fa42

[CL 19322398 by Patrick Boutot in ue5-main branch]
2022-03-09 12:42:40 -05:00
Patrick Boutot
fa758f5c9e UMG: Add FieldNotification to Checkbox & ProgressBar.
#preflight 622260162f7d78332e181e7c

[CL 19271750 by Patrick Boutot in ue5-main branch]
2022-03-04 14:11:27 -05:00
Patrick Boutot
299faa7fff UMG: New feature. Add the interface IFieldValueChanged. It returns the list of all the properties or function that will send a notification when the value changes.
#preflight 6220f7edbf662715a8bccc27
#jira UE-141134, UE-132674, UE-132699

[CL 19268315 by Patrick Boutot in ue5-main branch]
2022-03-04 12:28:28 -05:00
marshall beachy
ae2970a82a Converted SlateImageRun / SlateWidgetRun over to use a TAttribute<int16> for a baseline value, which allows for lambdas to be passed in. Updated all call sites that are reliant on the font service to request their baseline on demand. Fixes issues where the baseline was being computed before the font was loaded, resulting in an incorrect baseline value being used.
[REVIEW] [at]jamie.dale, [at]matt.kuhlenschmidt, [at]nick.darnell

#ROBOMERGE-AUTHOR: marshall.beachy
#ROBOMERGE-SOURCE: CL 19223208 via CL 19225521 via CL 19235407 via CL 19235442 via CL 19235445
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19236572 by marshall beachy in ue5-main branch]
2022-03-02 21:14:02 -05:00
graham lewis
e7f6837e02 URichTextBlock:
- Added GetTextStyleSet function.


#ROBOMERGE-AUTHOR: graham.lewis
#ROBOMERGE-SOURCE: CL 19179213 via CL 19180240 via CL 19181644 via CL 19184843
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19206803 by graham lewis in ue5-main branch]
2022-03-01 16:35:32 -05:00
patrick boutot
4bbe4a676c UMG: Bring back deprecated function still in use in production.
#rb none

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19173661 via CL 19173665 via CL 19173672 via CL 19173688 via CL 19173698 via CL 19174189
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19174291 by patrick boutot in ue5-main branch]
2022-02-28 11:06:32 -05:00
patrick boutot
7bed43cccc UMG: Remove deprecation code bellow 4.23 in UMG code.
#rb vincent.gauthier
#preflight 621cc32a9a5676d19a301114

#ROBOMERGE-OWNER: patrick.boutot
#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 19172743 via CL 19172838 via CL 19172865 via CL 19173039 via CL 19173047 via CL 19173891
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19174092 by patrick boutot in ue5-main branch]
2022-02-28 10:47:01 -05:00
felipe lopez
7c89e33b0a Engine changes that we need for the following tasks
[FN Crew] Price Change Acknowledge - Engineering Tasks
Crew Price Change - Players in the Canceled state still see the 'Cancel Subscription' button

#rb saad nader

#ROBOMERGE-AUTHOR: felipe.lopez
#ROBOMERGE-SOURCE: CL 19019340 via CL 19019458 via CL 19019768 via CL 19019883 via CL 19019996 via CL 19031933
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v917-18934589)

[CL 19032164 by felipe lopez in ue5-main branch]
2022-02-17 03:42:43 -05:00
daren cheng
4af0ec6765 Fix editor utility widget style changes not saving due to UMG style CDO comparisions reverting changes.
Also fixes issue where any 32x32 button texture would get shrunk to zero on editor utility widgets.

#preflight 620441552f56bd0ebf9fc84e
#rb vincent.gauthier lauren.barnes
#lockdown JeanMichel.Dignard


#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 18926528 via CL 18926776 via CL 18928248 via CL 18929495
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18929501 by daren cheng in ue5-main branch]
2022-02-09 19:39:40 -05:00
sebastian nordgren
1a130713fd Fixed crash when calling Add Item on a List View in Pre Construct of an Editor Utility Widget.
UListView doesn't support duplicate or null items, and adding either causes a crash. We now report a warning and stop the erroneous input from crashing.

#jira UE-139987
[REVIEW] [at]vincent.gauthier, [at]patrick.boutot
#preflight 62037671eb4284aebffc33d3
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18917289 in //UE5/Release-5.0/... via CL 18926641 via CL 18928174
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18928421 by sebastian nordgren in ue5-main branch]
2022-02-09 19:03:04 -05:00