Commit Graph

1380 Commits

Author SHA1 Message Date
lina lam
75109aab0b Added a Delete button for Active Themes. When users delete any user-created themes, they're prompted with a "Are you sure" dialog box. If the user selects "OK", the active theme is set to the default dark theme. When the active theme is Dark, users do not have the option to delete it.
#preflight 62f2a91ee36c91e6860d6cd5

[CL 21294924 by lina lam in ue5-main branch]
2022-08-09 14:44:39 -04:00
ennorehling
664320eb6b PR #9375: Common typo: doens't -> doesn't (Contributed by ennorehling)
#preflight 62f27e1a0264595302eefa12
#jira UE-158763
#rb trivial

[CL 21292281 by ennorehling in ue5-main branch]
2022-08-09 13:21:24 -04:00
lina lam
5afa48530d - Themes are now saved to the right location in engine folder.
- Implemented theme name checks to avoid duplicating names.
- Editing existing theme name will update the .json file name as well in the engine theme folder.

#jira UE-148387: Creating a new theme is lost once the editor is restarted
#rb editor-ux
#preflight 62f25d0f3b773d041625eeb0

[CL 21285132 by lina lam in ue5-main branch]
2022-08-09 09:28:36 -04:00
tyler staples
7e7bf0ea83 Only set SImage MouseDown and DoubleClick event if bound.
This can save a fair amount of memory when there are many widgets.

#rb patrick.boutot, jc.authier

#ROBOMERGE-AUTHOR: tyler.staples
#ROBOMERGE-SOURCE: CL 21162894 via CL 21163447 via CL 21172136 via CL 21174135 via CL 21180049
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21192210 by tyler staples in ue5-main branch]
2022-07-20 18:26:27 -04:00
robert seiver
98a126ea93 Fixed copy paste error for LargeBold font being assigned to a small font
#jira none
#review-21188597 @Lauren.Barnes
#rb Brandon.Schaefer
#preflight none

[CL 21189750 by robert seiver in ue5-main branch]
2022-07-20 17:14:39 -04:00
aditya ravichandran
5566693ea9 Filter Widgets: Fix an issue where the search text could go over the save search button in the Content Browser
Fix an issue where the text boxes in the custom text filter dialog would resize

#rb lauren.barnes
#preflight 62d6eeb21133256db6e97e6f

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 21165676 via CL 21167113 via CL 21172120 via CL 21172392
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21183840 by aditya ravichandran in ue5-main branch]
2022-07-20 12:59:46 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
bryan sefcik
06f6cf2700 Added IWYU pragmas.
#preflight 62d018faa6141b6adfe93e82

[CL 21090145 by bryan sefcik in ue5-main branch]
2022-07-14 09:41:39 -04:00
Lauren Barnes
c4f2982b25 Adding BoldItalic and Italic font style to FStyleFonts, use cases in AnimCurve viewer and Class Viewer respectively
#preflight 62cf2131456e3727b1d50608
#rb aditya.ravichandran
#jira UE-143100
#jira UE-158618

[CL 21080225 by Lauren Barnes in ue5-main branch]
2022-07-13 16:40:47 -04:00
erin wasik
8caf6792a4 Editable Text Blocks: add way to set font and font materials in blueprint
[REVIEW] [at]editor-ui-systems, [at]ui-tech-design

#ROBOMERGE-AUTHOR: erin.wasik
#ROBOMERGE-SOURCE: CL 21058049 via CL 21058073 via CL 21058083 via CL 21058085
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21078149 by erin wasik in ue5-main branch]
2022-07-13 15:34:20 -04:00
ronald koppers
12979e53c2 FMessageLog::CriticalError has been deprecated.
FMessageLog::CriticalError has a delay before throwing an assert to allow compositing of the message. As a result the assert isn't thrown at the location of the problem, but somewhere in the surrounding area, which makes the problem harder to debug and generates misleading log entries. Due to these problems FMessageLog::CriticalError and EMessageSeverity::CriticalError have been deprecated. It's recommended to use checkf instead.

When FMessageLog goes out of scope or is destroyed explicitly it will flush its messages to the log, which in turn means the log may immediately use the messages. In a few places a reference to the message was kept that outlived the lifetime of the owning FMessageLog in order to add arguments later on. The found cases have been updated to make sure FMessageLog doesn't outlive the addition of the arguments so the arguments are correctly passed to the log.

#jira: UE-155605
#rb brooke.hubert francis.hurteau jerome.delattre
#preflight 62cc4fca9922f7e5129e4e0a

[CL 21042765 by ronald koppers in ue5-main branch]
2022-07-11 12:58:26 -04:00
simon girard
b00bcc3921 Apply skew before the rendering of glyphs when added to the atlas
[REVIEW] [at]Vincent.Gauthier [at]ui-tech-design [at]Patrick.Boutot
#rb [at]Vincent.Gauthier [at]Adrienne.Pugh [at]Patrick.Boutot
#rnx

#ROBOMERGE-AUTHOR: simon.girard
#ROBOMERGE-SOURCE: CL 21040572 via CL 21040615 via CL 21040636
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21042222 by simon girard in ue5-main branch]
2022-07-11 12:34:33 -04:00
patrick boutot
2a2ecde812 Slate: Fix bad memory access after the invalidation widget list got resized.
#rb ui_system

#ROBOMERGE-AUTHOR: patrick.boutot
#ROBOMERGE-SOURCE: CL 21007893 via CL 21007905 via CL 21007914
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21019099 by patrick boutot in ue5-main branch]
2022-07-08 23:15:13 -04:00
ben hoffman
165f398825 Add a constructor for Pointer Input events that takes the new InputDeviceId instead of the old int32 controller id
#jira UE-147796
#preflight 62c8799c7e606620fd67cd05
#rnx
#rb dave.jones2

[CL 21013537 by ben hoffman in ue5-main branch]
2022-07-08 16:22:16 -04:00
Patrick Boutot
2190b998b3 Slate: Fix InvalidationWidgetReason unitest bad name.
#rb none
#rnx
#preflight 62c59b192a05d4f55b071029

[CL 20967127 by Patrick Boutot in ue5-main branch]
2022-07-06 10:57:04 -04:00
aditya ravichandran
3a86dab377 Content Browser: Add an alternate vertical filter layout
Remove the overflow menu and add wrapping for fiters in the horizontal layout
#jira UE-157471
#preflight 62bf1391d94b57687c7f3395
#rb Lauren.Barnes

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 20918175 via CL 20919826 via CL 20920342 via CL 20920507
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20923421 by aditya ravichandran in ue5-main branch]
2022-07-01 19:42:46 -04:00
zach bethel
34623f0321 Replaced thread-local MemStack with ConcurrentLinearAllocator across the renderer.
- Removed scene render mem-mark among others. MemStack usage is now restricted to local scopes with known marks.
 - Render resources with destructors are allocated using the FSceneRenderingBulkObjectAllocator on FSceneRenderer, which is deleted when the scene render is.

#preflight 62b266e20d4d6228de97babe
#rb mihnea.balta, yuriy.odonnell

[CL 20907647 by zach bethel in ue5-main branch]
2022-06-30 19:55:24 -04:00
ben hoffman
d0d6b8f9c6 Add a "Icons.AlertCircle" and "Icons.AlertCircleWithColor" to the StarshipCoreStyle. This uses the "Starship/Common/alert-circle" svg, which is currently utilized by the SourceControl plugin and a few other plugins as a generic "Warning" symbol. I wanted to add it here to the starship style so that for my use case I don't have to add a dependency on a source control icon, and instead can use a more generic one.
The source control icon also has a yellow accent color on the brush, which I don't want.

#jira UE-157638
#rb lauren.barnes
#rnx
#preflight 62b762548d780b2b0e81405e

[CL 20905411 by ben hoffman in ue5-main branch]
2022-06-30 17:58:44 -04:00
aditya ravichandran
de01ae6d43 AssetEditorToolkit: Fix toolbar being the wrong color if there were no custom commands
#jira UE-157683
#rb lauren.barnes
#fyi Vincent.Gauthier
#preflight 62bdccc0ed35ee71a70816d9

[CL 20897208 by aditya ravichandran in ue5-main branch]
2022-06-30 12:23:05 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00
tyler staples
d59910a543 Debug Hud - Stat rendering optimizations
This cuts the cost of DrawStatsHUD by about half.

+ Remove implicit conversions from large world coords to floats by explicitly using float vector types.
+ Draw text effects (shadow, outline) in same pass as main text draw to avoid calling draw several times.
+ Updated the CharacterList to cache the FCharacterEntry's directly to avoid creation/copying of them.
+ Removed direct index cache from CharacterList as it didn't actually make it faster due to the complex logic when getting a character.
+ Updated FBatchedElements::AddVertex to takes float vectors to avoid expensive LWC conversions.

#rb matt.kuhlenschmidt, jamie.dale, simon.orr, patrick.boutot

#ROBOMERGE-AUTHOR: tyler.staples
#ROBOMERGE-SOURCE: CL 20765058 via CL 20765076 via CL 20765114 via CL 20765243 via CL 20765331
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v970-20704180)

[CL 20767653 by tyler staples in ue5-main branch]
2022-06-21 19:02:15 -04:00
Patrick Boutot
eb15d9e8ee Slate: Convert SlateRect, Margin and SlateRotatedRect from double to float. Without the deprecation path, it creates a lot of errors. I will deprecate slowly the functionnality that use FVector2D once I convert the other basic structures.
#jira UE-137340
#rb editor-ui-systems
#preflight 62a7567d504e8c54a76dc9cd

[CL 20631832 by Patrick Boutot in ue5-main branch]
2022-06-13 14:48:44 -04:00
Patrick Boutot
6b6739a025 Slate: Fix implicit double to float conversions in the SlateRHIRenderer module.
#jira UE-88354, UE-137340
#rb sebastian.nordgren
#preflight 62a1d7422875eb3c617f1c58

[CL 20627406 by Patrick Boutot in ue5-main branch]
2022-06-13 11:03:46 -04:00
ben hoffman
b7ca41c217 Fix an issue where the Input Device ID could be uninitzalized, causing the Common Game viewport client to ignore any rerouted input. This resulted in some in game UI not being triggered. Initalize the DeviceId to the old controller ID by default, so that anyone who has subclasses viewports wony break with these updates like we saw happen here iwth the common viewport.
#jira UE-156307
#rb ben.zeigler
#rnx
#preflight 62a36861cc30ea8a289417c6

[CL 20598595 by ben hoffman in ue5-main branch]
2022-06-10 13:00:47 -04:00
daren cheng
4b42cc2349 Cull when stencil AABB & backbuffer intersection results in a zero sized scissor
#jira UE-155999
#preflight 629f764f617cbe81d32b60aa
#rb Patrick.Boutot, Vincent.Gauthier

[CL 20542807 by daren cheng in ue5-main branch]
2022-06-07 14:54:28 -04:00