Commit Graph

11807 Commits

Author SHA1 Message Date
Laura Hermanns
32c8d9eb49 Don't remove PDB from DXIL container if it wasn't generated in the first place to prevent hlsl::Exception to be thrown by DXC if PDB part is not present.
#rb Yuriy.ODonnell
#fyi Christopher.Waters
#jira UE-164622
#preflight 6334c8ea691c0168b71d7e0d
#rnx

[CL 22233889 by Laura Hermanns in ue5-main branch]
2022-09-28 18:43:53 -04:00
Dan Thompson
24456b0b23 Shared Linear Encoding for DDC1 - disabled by default, enable by cvar (r.SharedLinearTextureEncoding 1)
#rb jeff.roberts fabian.giesen devin.doucette
#preflight 6334c333b946208fc1c4856b

[CL 22233333 by Dan Thompson in ue5-main branch]
2022-09-28 18:26:45 -04:00
dan engelbrecht
0f1143130a Use Http::TryLoadCbPackage as first option to parse packages from Zen.
This will allow UE to talk to both old and new zen servers as we move to use the new package wire format in Zen responses.
#rb devin.doucette
#preflight 6334bf81691c0168b71bc0a9

[CL 22233160 by dan engelbrecht in ue5-main branch]
2022-09-28 18:22:23 -04:00
christopher waters
1979485a4c Pass along the RHI specific arguments to launched processes.
#jira none
#rb arciel.rekman
#preflight 63345d1f031c90cb0babe254

[CL 22232540 by christopher waters in ue5-main branch]
2022-09-28 18:04:10 -04:00
yohann dossantos
59b5769eca -Text font size changes in Text Box (Multy-Line) widget applies only after moving the text widget
It was the initial bug, but while looking at it, I noticed that the MultilineEditableTextBox was containing both a Font via FEditableTextBoxStyle, and another one via FTextBlockStyle, thus being error prone / inconsistent.
In order to fix the underlying issue (in addition to fix the initial bug), I removed the Font from FEditableTextBoxStyle, and moved the FTextBlockStyle from MultilineEditableTextBox to FEditableTextBoxStyle.
It solves the duplication issue and so make it clear where the Font should be set/read from.
However, as the text block style is now embedded in the editable text box style, it cannot be initialized the exact same way, and I had to do some changes to ensure there was no regression, by configuring various FEditableTextBoxStyle in some style files. I also change the default value for TextBlockStyle to better match our default theme.

-Default font is not set for text widgets.
EditableWidget: ensure to have a default font, and to set the style when calling SynchronizeProperties to ensure it reacts directly without having to force a refresh (by moving the widget for instance)

Bonus:
-Move to cpp some private methods that where 'forced' inline (and we were using function pointer on them). It will avoid some noise in public interface and speed up iteration / compile time when playing with them.

#jira UE-96464
#jira UE-137126

[RN] MultilineEditableTextBox was containing both a Font via FEditableTextBoxStyle, and another one via FTextBlockStyle, thus being error prone / inconsistent.The Font from FEditableTextBoxStyle has been removed, and the FTextBlockStyle moved from MultilineEditableTextBox to FEditableTextBoxStyle. It solves the duplication issue and so make it clear where the Font should be set/read from.
However, as the FTextBlockStyle is now embedded in the FEditableTextBoxStyle, it cannot be initialized the exact same way, and you can now configure the FTextBlockStyle of FEditableTextBoxStyle when creating one from scratch, by calling SetTextStyle on it.


Test
- created a Widget blueprint with different editable types combination: multiline or single line, box or no box.
    -Validated that everything was reacting live as expected now.
    -Created a blue print to set the text style and validated it was working.
    -Create data with old version, then open it with updated version to validate that the visual was still the same and deprecation of style working as expected.
-checked different places in the editor using variation of editable text to ensure they were behaving as before (detail view, console command entry, comment on blueprint node).
#preflight 63344b9f110bb3721ef8aa77

[CL 22232366 by yohann dossantos in ue5-main branch]
2022-09-28 17:59:29 -04:00
sara schvartzman
d41d43b4ed Control Rig: Avoid crashing when injection info is null
#jira UE-159421
#rb helge.mathee
#preflight 63342c20a907d7192f6d0018

[CL 22232356 by sara schvartzman in ue5-main branch]
2022-09-28 17:59:11 -04:00
ionut matasaru
256e1b2a5f [Insights] Fixed serialization to Cbor for EventData with zero fields.
#rb none
#preflight 63341fd4dc213d2eadfd572c

[CL 22232212 by ionut matasaru in ue5-main branch]
2022-09-28 17:55:57 -04:00
sara schvartzman
6bdfee452f Control Rig: Fix undo delete select node fails
#jira UE-150210
#rb helge.mathee
#preflight 6332e99c1003050806d94067

[CL 22232136 by sara schvartzman in ue5-main branch]
2022-09-28 17:54:41 -04:00
catalin dragoiu
b3c94ea940 [Insights] Keep only .csv and .tsv extensions as valid for table import files. Fix int64 parsing during table import.
#rb Ionut.Matasaru
#preflight 6333fa16c7791417aaf11e4d

[CL 22231586 by catalin dragoiu in ue5-main branch]
2022-09-28 17:39:22 -04:00
dan engelbrecht
c58d25f1f4 Make ZenCacheStore::FGetChunksOp asynchronous using EnqueueAsyncRpc
#preflight 63341e5a10030508062960fa
#rb devin.doucette zousar.shaker

[CL 22230515 by dan engelbrecht in ue5-main branch]
2022-09-28 16:39:24 -04:00
Robb Surridge
77fafd441d Update message dialogs to use a clipboard button instead of a "Copy Message" text hyperlink.
#jira UE-164715
#preflight 632dee71a4769ad7140a1ba5
#rb lauren.barnes

[CL 22222705 by Robb Surridge in ue5-main branch]
2022-09-28 10:58:39 -04:00
krzysztof narkowicz
a6c98502ff Lumen Mesh Cards - fixed infinite loop when generating mesh cards for large meshes and EmbreeRay.ray.tfar + 0.01f was equal to EmbreeRay.ray.tfar. Now hits against previous primitive are ignored and ray is always advanced by a smallest possible increment.
[CL 22221700 by krzysztof narkowicz in ue5-main branch]
2022-09-28 10:18:58 -04:00
sebastien lussier
24e886f1c4 Merge Actor: Turn a UV generation error into a warning as a temp workaround for failing HLOD builds
* Will rework UV generation to be more resilient
#rb trivial
#preflight skip

[CL 22217711 by sebastien lussier in ue5-main branch]
2022-09-27 23:59:24 -04:00
catalin dragoiu
5ec09c0572 [Insights] Show full llm tag path name is the Allocation Table and remove duplicated items from the LLM filter.
#rb Ionut.Matasaru
#preflight 63330f411003050806e5000b
#jira UE-164509

[CL 22217583 by catalin dragoiu in ue5-main branch]
2022-09-27 23:48:55 -04:00
jack cai
d64045bacd ControlRig: Fix Enum default getting overriden on load
#jira UE-164906
#rb Sara.schvartzman, helge.mathee
#preflight https://horde.devtools.epicgames.com/job/633297b11003050806c0f566

[CL 22217558 by jack cai in ue5-main branch]
2022-09-27 23:47:51 -04:00
marc audy
cea63473a7 [Backout] - CL22206223
#fyi jurre.debaare
#horde 218123,218081,218073,218063,218057,217995,217831,217939
Original CL Desc
-----------------------------------------------------------------
REDO: UEFN - Users are able to apply Animation Modifiers via the right-click context menu
#fix moved animation modifier menu section into module itself - gated by whether or not AnimationModifier class is allowed
#rb Thomas.Sarkanen
#preflight 6332c289a4769ad714e78a8c

[CL 22217414 by marc audy in ue5-main branch]
2022-09-27 23:06:31 -04:00
halfdan ingvarsson
e2210cb024 Support for 16-bit skin weights on the skelmesh.
The main change is that FSoftSkinVertex, used by FSkeletalMeshLODModel, in now stores weights as 16-bit after conversion from the import data. This increases the size of each FSoftSkinVertex from 144 bytes to 160 bytes (about 10% increase). By default render meshes still use 8-bit skin weights, with weights downshifted from the 16-bit modeling data, so no change in GPU memory consumption there. However, the vertex buffer will automatically return a 16-bit skin weights when requested from the GPU side (e.g. for CPU skinning and viewing tangents).

This change in the model data and vertex buffer CPU-side query, resulted in many changes throughout the codebase and will have an effect on licensees who are actively reading from and writing to these two storage locations.

The GPU skin cache shader has had one more permutation added when not using unlimited skin weights. The vertex factory is not affected.

#jira UE-164386
#rb alexis.matte, josie.yang
#preflight 632c0c5ab4515b7e22b4804d

[CL 22215219 by halfdan ingvarsson in ue5-main branch]
2022-09-27 19:48:05 -04:00
wojciech krywult
568cba9511 [Backout] - CL22010754
#fyi chris.constantinescu
Original CL Desc
-----------------------------------------------------------------
(LLT) Set cached data directories via FPlatformFile::InitializeAfterProjectFilePath -> fixes code path cycle for Program type applications where no project path is defined.
#jira UE-163672
#rb Josh.Adams
#preflight 6321e55e506f1a33e0bf2576

Reverting as it causes UE-165118 (Insights log not being gathered on some platforms). The problem was that some systems rely on the cached paths being available very early during the launch sequence. Delaying the initialization of these paths leads to non-existent paths being used and traces not being written.

#preflight 633355a4d747fe52c807dfbf
#fyi chris.constantinescu
#jira UE-165118
#rnx

[CL 22212743 by wojciech krywult in ue5-main branch]
2022-09-27 18:30:41 -04:00
Matt Peters
a46d4a439a CacheStoreTest - automated test spurious failure fix: Record whether the first local put and remote put succeed, and use that to decide bExpectHit for each key that get what we put to local/remote.
#jira UE-157577
#rb Devin.Doucette
#rnx
#preflight 63336ff37b582f58abd78581

[CL 22211844 by Matt Peters in ue5-main branch]
2022-09-27 18:10:32 -04:00
patrick enfedaque
f5014308ba DefaultSourceControlProvider: Fix missing Make Writable option when disconnected from SCC (introduced in CL 22187137)
#rb none
[FYI] marco.anastasi
#preflight none

[CL 22209892 by patrick enfedaque in ue5-main branch]
2022-09-27 17:37:13 -04:00
jurre debaare
4f8c9cc5fc REDO: UEFN - Users are able to apply Animation Modifiers via the right-click context menu
#fix moved animation modifier menu section into module itself - gated by whether or not AnimationModifier class is allowed
#rb Thomas.Sarkanen
#preflight 6332c289a4769ad714e78a8c

[CL 22206223 by jurre debaare in ue5-main branch]
2022-09-27 10:55:17 -04:00
sebastien lussier
e2b30272ba Merge Actor - Fix section/material mapping issue introduced by CL22158948
#rb patrick.enfedaque
#preflight skip

[CL 22205513 by sebastien lussier in ue5-main branch]
2022-09-27 10:17:21 -04:00
sara schvartzman
e36913273a Control Rig: Fix undo rename local variable not working
#jira UE-144597
#rb helge.mathee
#preflight 6332e428d747fe52c8f127c9

[CL 22205492 by sara schvartzman in ue5-main branch]
2022-09-27 10:16:53 -04:00
martin ridgers
d6fa8ad22d Fixed ensure() that could fire if no Ptr-style memory scope was traced.
#rb im
#rnx
#jira none
#preflight 6332b857c7791417aaa7b948

[CL 22203255 by martin ridgers in ue5-main branch]
2022-09-27 07:11:14 -04:00
sara schvartzman
f5c9f836f5 Control Rig: Fix CI unit test "Metadata Dispatch" failing in Linux
#jira UE-161473
#rb jack.cai
#preflight 6331cb61a4769ad714ac7d98

[CL 22203248 by sara schvartzman in ue5-main branch]
2022-09-27 07:10:47 -04:00