Commit Graph

11815 Commits

Author SHA1 Message Date
ionut matasaru
b64815adc2 [Insights] Fixed unsafe type cast warnings in TraceInsights module.
#rb none
#preflight 633581b1691c0168b73d75d1

[CL 22260791 by ionut matasaru in ue5-main branch]
2022-09-29 20:32:42 -04:00
rune stubbe
698250487a Fixed compile errors in MeshSimplify.cpp
-Linux doesn't compile because fopen_s is not a standard function
-Missing include for Math/RandomStream.h

#preflight skip
[FYI] juan.canada, brian.karis, graham.wihlidal

[CL 22260785 by rune stubbe in ue5-main branch]
2022-09-29 20:32:27 -04:00
ionut matasaru
a920c25c84 [Insights] Fixed unsafe type cast warnings in TraceServices module.
#rb none
#preflight 6335815f1768d5ee3341ee29

[CL 22260776 by ionut matasaru in ue5-main branch]
2022-09-29 20:32:11 -04:00
thomas sarkanen
a733b211b6 Fix display of animation layer interfaces on content browser tiles
Use GetDisplayNameFromAssetData (as with thumbnails) rather than just GetName

#jira UE-165065
#rb JeanMichel.Dignard
#preflight 63355719e410691606aafa72

[CL 22260652 by thomas sarkanen in ue5-main branch]
2022-09-29 20:27:44 -04:00
graham wihlidal
561e36e5c7 Nanite: Added "Preserve Area" checkbox to correct leaves disappearing on trees.
This aims to preserve the surface area during simplification. If area is lost, open boundary edges of the mesh are dilated to compensate. This is useful for foliage that tends to thin out in the distance if not enabled.

Also include misc fixes:
Collapses that completely remove disjoint triangles have an error of the area of what was removed.
Would not alias 0 and -0 verts due to binary comparison.

#rb graham.wihlidal
#preflight 63349e32141f314ed601978d

#ushell-cherrypick of 22229630 by Brian.Karis
#preflight 6334c401f418a1071a35b4a4

[CL 22260505 by graham wihlidal in ue5-main branch]
2022-09-29 20:24:18 -04:00
Devin Doucette
78b4dfd59b DDC: Fixed untagged allocations by capturing tags in tasks
#jira UE-154013
#preflight 6335f0ffc37844870abec3f3
#rb Matt.Peters

[CL 22254430 by Devin Doucette in ue5-main branch]
2022-09-29 16:11:35 -04:00
scott nelson
b0eb92d8b4 Add new EditorDelegate OnPreAssetDestructiveAction
#preflight 63349d8e141f314ed6017ae3
#rb Julien.StJean

[CL 22244134 by scott nelson in ue5-main branch]
2022-09-29 02:24:24 -04:00
michael balzer
64c705d5bf BSPUtils: Fix truncation warnings
#preflight 63339e53a907d7192f4cd9d6
#rb david.hill

[CL 22239211 by michael balzer in ue5-main branch]
2022-09-28 21:43:56 -04:00
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