Commit Graph

1372 Commits

Author SHA1 Message Date
jonathan bard
b5825eea45 Fixed landscape component count display in editor when selecting streaming proxies
#jira UE-189143
#rb roey.borsteinas

[CL 26155069 by jonathan bard in ue5-main branch]
2023-06-21 13:48:18 -04:00
joe kirchoff
fc49b3b34f Fix C4855: implicit capture of 'this' via '[=]' is deprecated in '/std:c++20'
#rnx

[CL 26110412 by joe kirchoff in ue5-main branch]
2023-06-19 19:55:34 -04:00
yohann dossantos
8c0370a000 - Added a per project Font display DPI setting, in order to allow using (but not being limited to) the standard 72 DPI used by most creation software (Photoshop, Figma,...). Slate will still work at 96DPI.
- Converted the font size to float, to allow specifying more precise size, and support the sizes that would be wanted at (for instance) 72 DPI, without losing information (ie rounding to the closest 96DPI int).
- Change various font caches behavior (glyph, advance, kerning...) to match behavior of Freetype, and ensure that a given size in Freetype will be stored only once in the font caches.
- Added cvar commands:
    - Slate.DumpFontCacheStats: will display the list of all font combinations used, with the number of glyphs for each combination.
    - Slate.FlushFontCache: will clear the font caches as well as the font atlases, then will invalidate all the widgets to force the cache to be refilled.
- Fixed the combo box for font typeface selection not disabled when necessary.

#tests:
- changed the Font display settings between various values and customDPI, validatet that everything was save correctly, and that the display was reacting to the value change.
- tested all the tooltips, simple, extended (ctrl + alt), and dynamic (display of the current DPI setting next to the font size).
- validated that the font atlas/cache was containing not more than one time each glyph rendered by Freetype.
- validated that the edition of the font size was still fully functionnal (spinbox, undo/redo, support of disable state,...).
- tested default value for a new project (72DPI).
- compiled Slate/SlateCore/UMG with UnsafeTypeCastWarningLevel = WarningLevel.Warning to fix warnings related to the change.
- tested in a game with latest changes from BP team (CL 26034633), ensuring that there are no regression related to the change of type (int to float) from the Font size.
- running with it in a game and UE branch for months.

#jira UE-152161
#rb patrick.boutot

[CL 26074522 by yohann dossantos in ue5-main branch]
2023-06-16 18:35:04 -04:00
carl lloyd
a793c2fcd1 Add support to enable an SM6 platform for Mac
#rb Zack.Neyland
#jira UE-184435

[CL 26062749 by carl lloyd in ue5-main branch]
2023-06-16 14:24:06 -04:00
bob tellez
5caee2ac97 #UE Fix issues with editing multiple textures at once in the property matrix
[CL 26040989 by bob tellez in ue5-main branch]
2023-06-16 04:10:23 -04:00
luc eygasier
6c58a2bbcb Reworks landscape property sharing and override.
Adds LandscapeInherited and LandscapeOverridable meta tag to mark shared properties.
Enforce synchronicity between shared properties when editing and loading ALandscape and LandscapeStreamingProxy.
Modifies ALandscapeProxy detail panel to reflect how the properties are shared.

#jira UE-173875, FORT-600500
#rb Jonathan.Bard
#lockdown Marc.Audy

[CL 25992337 by luc eygasier in ue5-main branch]
2023-06-14 16:03:16 -04:00
daniel holden
393f64d9e6 Improvements to Inertialization and Dead Blending node:
- Added bone filter to Dead Blending node.
- Made inertialization rewind debugger tracks clickable.
- State machines no longer grey-out the blend parameters when an inertialization transition is selected.

#rb keith.yerek

[CL 25878665 by daniel holden in ue5-main branch]
2023-06-08 15:09:10 -04:00
jonathan bard
c0e960c793 Made landscape proxy count details more explicit
#rb trivial
#rnx

[CL 25824504 by jonathan bard in ue5-main branch]
2023-06-06 15:05:13 -04:00
jeanmichel dignard
011eea3fc0 Fixed static analysis in ActorDetails.cpp: Added a nullptr check
#rb none
#preflight 6477b6030848b7126deb7f81

[CL 25724795 by jeanmichel dignard in ue5-main branch]
2023-06-01 09:28:48 -04:00
George Rolfe
5e0cea2325 PropertyEditor category based copy/paste
#jira UE-154146
#jira UE-184925
#rb karen.jirak
#preflight 647165ac5152deaa101230f2

[CL 25658027 by George Rolfe in ue5-main branch]
2023-05-26 22:34:43 -04:00
roland munguia
7dc3bb57a2 State machine entry, exit, fully blended in, and fully blended out anim node functions.
Additional changes:
- Added warnings for users using anim state events since we want to push towards using the state node functions.
- Added support for anim nodes to show any bound functions and not have them hardcoded.
- Added base context type for FAnimExecutionContext.
- Now users can specify the string for the default binding name of a function member reference in a BP by using the "DefaultBindingName" metadata tag. This will give the functionality to avoid having the default binding name be "NewFunction" and instead use the input string from the metadata tag.

#jira UE-184572
#rb Thomas.Sarkanen, jose.villarroel, aaron.cox
#preflight 646e6a836c2a2532b1f91efd

[CL 25631664 by roland munguia in ue5-main branch]
2023-05-25 18:06:26 -04:00
christopher waters
5b751e83bd Cleaning up more platform code.
#jira UE-185135
#rb robert.srinivasiah
#preflight 64628533aa3c584c0b0af08d

[CL 25480257 by christopher waters in ue5-main branch]
2023-05-15 16:56:55 -04:00
bryan sefcik
91c57d395e Removed redundant module includes.
#preflight 645d4bf3aa3c584c0b5b3a67

[CL 25435653 by bryan sefcik in ue5-main branch]
2023-05-11 16:48:21 -04:00
sara schvartzman
44d35b4086 Control Rig: Interactive sliders working in details panels
#jira UE-149284
#rb helge.mathee, Patrick.Boutot
#preflight https://horde.devtools.epicgames.com/job/6453aa86c86798f6508e9521

[CL 25403899 by sara schvartzman in ue5-main branch]
2023-05-10 09:55:11 -04:00
chris tchou
1eab09f9c7 Landscape Texture Mip Storage Provider, give us an option to customize how Landscape Texture data is stored.
Currently, Landscape will only apply the new storage provider to it's heightmaps at cook time, when it sees that the landscape has been flagged to use the new compressed storage path (enabled under Landscape -> Advanced), and only for Windows platforms (to be expanded as we test other platforms).

The compressed storage path option on the landscape is hidden by default, and can be made visible via CVAR ("landscape.ShowCompressHeightMapsOption")

Makes use of a new All Mip Provider interface to Texture2Ds, that expands on the existing Mip Data Provider (that only supported providing streaming mips).
The new interface assumes you want to completely override the Texture2D mip data.

When Texture2D sees that it has an All Mip Provider, it will skip serializing it's own heavyweight mip data during cook, as it assumes the provider will take care of providing all mip data.

The majority of the implementation is in LandscapeTextureStorageProvider, which implements the AllMipProvider that can store landscape heightmaps in a custom compressed format.  Each mip's height data is stored using delta encoding, and normals are reconstructed.

#rb jonathan.bard, jian.ru
#jira UE-180654
#preflight 64541acf6c35ad81e61890cc
#preflight 64542713fd4b8f4e0d9a2ce9
#preflight 6459378bfd4b8f4e0dc206d2

[CL 25381191 by chris tchou in ue5-main branch]
2023-05-08 19:51:44 -04:00
Patrick Hardy
dbddffb070 Fix Component Reference Customization not recognizing the SoftComponentReference's ComponentProperty and PathToComponent. This was preventing selecting non-root components within nDisplay.
#jira UE-184673
#rb sara.schvartzman
#preflight 644c2937b208f61af8039cef

[CL 25240775 by Patrick Hardy in ue5-main branch]
2023-04-28 16:51:22 -04:00
Florin Pascu
cd8651734e UX: Remove user-visible ES31 editor references and replace with Mobile
#jira UE-134173
#rb Jack.Porter
#preflight 6447ac2e641e2c3cb4227930

[CL 25178065 by Florin Pascu in ue5-main branch]
2023-04-25 07:05:08 -04:00
Aaron McLeran
70e7c3734f Removing many vestigates of old audio engine code.
#rb Ryan.Mangin
#jira UE-144348
#preflight 6446e9d30206a6e20f49f2e7

[CL 25172786 by Aaron McLeran in ue5-main branch]
2023-04-24 18:22:37 -04:00
jamie dale
933348f856 Use the FMessageDialog overloads that pass the optional title by-value
#jira
#rb none
#rnx

[CL 25062589 by jamie dale in ue5-main branch]
2023-04-15 19:49:32 -04:00
jeannoe morissette
75364b7008 VulkanRHI: Add VULKAN_SM6. Move features and requirements around to match what was done on d3d.
#rb arciel.rekman, carl.lloyd
#preflight 643996128901e5ef982dc887

[CL 25045731 by jeannoe morissette in ue5-main branch]
2023-04-14 14:26:06 -04:00
Jeff Fisher
25ff24a7b1 UE-181824 Move HeadMountedDisplay files to XRBase plugin to reduce UE overhead.
-Moving much of engine/source/runtime/headmounteddisplay to a plugin mainly to reduce minimum UE executable size and memory use.  But this is also nice for organization.  The ideal would be to move everything except interfaces used by core engine. VREditor pulling in UMotionControllerComponent is the main blocker at this time.  That dependency is expected to go away eventually at which point we can do the rest of this transfer.
-Added dependencies to XRBase plugin or module as necessary, refactored to avoid some dependencies, removed a few unnecessary dependencies.
-Stripped vestigial VR references from a few project templates.  Mostly just unused HeadMountedDisplay module refs, but a tiny bit of code from TP_Puzzle.
-Fixed dependency cycle ignores related to MaterialShaderQualitySettings PIEPreviewDeviceProfileSelector and UnrealEd.  For reasons I do not understand the HeadMountedDisplay dependency on AugmentedReality was preventing the detection of those, long existent, cycles.
#jira UE-181824
#review
#rb Robert.Srinivasiah
#preflight 642f3cbf4c3ccbbdf1990a1f  6434291c28551807175e1142

[CL 24984065 by Jeff Fisher in ue5-main branch]
2023-04-10 17:12:32 -04:00
jonathan bard
adf08a89ef * Made bEnableNanite and NaniteLODIndex shared properties for landscape proxies so that at cook time (where we cannot rely upon the presence of the parent landscape actor in the case of landscape streaming proxies) there's no ambiguity with regards to whether Nanite is enabled or not on a given proxy
* Added actionable map checks for when shared properties on proxies are not up-to-date
* Save Modified Landscapes now acts as a way to fix every landscape actor that needs to be updated because of such discrepancies
* Fixed ModifiedPackages system in ULandscapeInfo so that :
** It bypasses temp packages (e.g. when creating a new map out of a template map that has discrepancies within its shared properties itself, we don't want the user to be notified since nothing has been saved yet and all will be synchronized once the actors are)
** It doesn't act on actors belong to any other world type than Editor (e.g. we don't want the user to be notified when entering PIE since properties will be properly synchronized automatically and nothing needs to be saved afterwards)
** It doesn't do anything upon rolling back a transaction (e.g. since property sharing synchronization (i.e. FixupSharedData) runs on PostRegisterAllComponents, it would report the problem to the user while if we're undoing, we're already dirty anyway)

#rb chris.tchou
#preflight 642eadbff6304b1f0240db8b

[CL 24977308 by jonathan bard in ue5-main branch]
2023-04-10 10:30:39 -04:00
brice criswell
8e1289e369 BodyInstance : Updated BodyInstanceCustomization to allow derived components to hide unused attributes.
#rb michael.lentine, benn.gallagher
#jira UE-171453
#preflight 642eeb682855180717442474

[CL 24957658 by brice criswell in ue5-main branch]
2023-04-06 17:32:26 -04:00
Steve Robb
18afed7c29 Made FKeyStructCustomization non-copyable to prevent deprecation warnings in compiler-generated special member functions.
#rb none
#jira none
#preflight 642d414f89339023eb6c1cd9

[CL 24925092 by Steve Robb in ue5-main branch]
2023-04-05 05:43:40 -04:00
George Rolfe
7124784309 PropertyEditor no longer hides the "Materials" category if it contains other properties
#jira UE-181769
#rb karen.jirak
#preflight 6425809a973e609670e86c29

[CL 24906700 by George Rolfe in ue5-main branch]
2023-04-03 23:50:12 -04:00