Commit Graph

1036 Commits

Author SHA1 Message Date
aditya ravichandran
81f7e13375 SBasicFilterBar: Move styles references in Editor only configs to StarshipCoreStyle
#jira UE-162977
#rb Lauren.Barnes
#preflight 63221d1fa514fd1e37378e13

[CL 22030221 by aditya ravichandran in ue5-main branch]
2022-09-15 11:45:59 -04:00
patrick boutot
43dacdd9e1 UMG: Add stackbox, a panel that behave like a vertical or horizontal box base. The direction can be changed at runtime.
#preflight 631b3a0bd31788ea3a95a7c7

[CL 22023181 by patrick boutot in ue5-main branch]
2022-09-14 23:20:53 -04:00
lina lam
fc382c5408 Improved import setting button behaviour:
When users click on import and open an appearance setting, it will automatically apply the theme if it exists. If not, prompt users to import a theme from the same location as the Appearance setting config file. If import succeeds, the new theme is applied and the .json file is copied to user-level theme directoy. If users choose not to import, keep the current theme.

#jira UE-160593: Update Theme Saving Location
#rb Sebastian.Nordgren
#preflight 631a105fd31788ea3a46ff72

[CL 21895626 by lina lam in ue5-main branch]
2022-09-08 12:17:14 -04:00
joe pribele
3cdbbb2797 [CoreUObject] fix for PrintScriptCallstack not printing callstack to the immediate window
logging buffers any call not from the logging thread, added a call to Flush() to force the logger write.

added to improve efficiency in building a stacktrace

FFrame::GetStackDescription(FStringBuilderBase& StringBuilder)
FFrame::GetStackTrace(FStringBuilderBase& StringBuilder)
FFrame::GetScriptCallstack(FStringBuilderBase& StringBuilder, bool bReturnEmpty = false, bool bTopOfStackOnly = false)
UObjectBaseUtility::GetFullName(FStringBuilderBase& ResultString, const UObject* StopOuter = NULL, EObjectFullNameFlags Flags = EObjectFullNameFlags::None) const

#jira UE-161358
#rb zousar.shaker devin.doucette
#preflight 63178f86304480f8f8e1c961

[CL 21826435 by joe pribele in ue5-main branch]
2022-09-06 15:08:01 -04:00
daren cheng
12c7fd4ea4 Add new LLM subtags for UI & increase UI LLM coverage.
#jira UE-154837
#rb ionut.matasaru, Vincent.Gauthier
#preflight 6305051bc00af5e2942bdb21

[CL 21525488 by daren cheng in ue5-main branch]
2022-08-23 19:31:20 -04:00
lina lam
4b968ac633 Added import/export buttons to Active Theme:
- Clicking "Import..." opens "document" from the OS window. Importing a theme will update the current active theme. After import, this theme should be found where user imported it from (i.e., document) AND the themes folder within the engine. Cannot import a theme with names that already exist. Also cannot import an invalid .json file.

- Clicking "Export..." opens "document" from the OS window. After export, this theme should be found where user exported it to (i.e., document) AND remain in the themes folder within the engine.

- Both import and export will prompt success/failure message within the engine.


UI Changes:
- "Color" header for Active Theme is now called "Theme"
-  Uploaded new icons for import / export (both 16x16 and 20x20 versions)
-  ThemeID now also gets exported when exporting Appearance setting.
- "Viewport Selection Color" and "Editor Window Background Color" are now under "User Interface"


#jira UE-160592: Import/Export Workflow for Themes
#rb editor-ux
#preflight 6304d98fc85b7fef228068f7

[CL 21507950 by lina lam in ue5-main branch]
2022-08-23 10:15:02 -04:00
lina lam
d2abde83a4 Duplicating a theme will now start from the current theme rather than the default dark theme.
#preflight 62f41b10bc175ec68c4f5ca1

[CL 21326231 by lina lam in ue5-main branch]
2022-08-10 17:10:45 -04:00
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
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
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
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
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