Commit Graph

168 Commits

Author SHA1 Message Date
henrik karlsson
b5164ac775 Fixes to make modules compile with IWYU. We've added to IWYU toolchain so it compiles "orphaned" headers which does not have a owning cpp file. This identified lots of headers that couldn't be compiled by themselves (or if they were to included first)
Change consist of only forward declaration and additional includes

#preflight 63789c1de30d438849c48188
#rb none

[CL 23218412 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:23 -05:00
Nickolas Drake
23a3279ab2 Construction Plane Mechanic: Add Ctrl+Middle Click behavior which moves the gizmo to the clicked position in the current plane.
A raycast is performed and its intersection with the plane determines the new gizmo position.

#jira none
#rb semion.piskarev
#preflight 6373f6750c74adb48ba69b11

[CL 23155313 by Nickolas Drake in ue5-main branch]
2022-11-16 11:38:36 -05:00
matija kecman
3741003f3b RenderCaptureBaking: Improve performance when adding/removing capture channels
- When adding a new channel: Only the newly requested channel is captured, previously all enabled channels were (re)captured
- When removing an already captured channel: We no longer recompute all remaining channels, we just wipe the one that was removed


#rnx
#rb ryan.schmidt
#preflight 6372120fbf76990b71f17750

[CL 23115901 by matija kecman in ue5-main branch]
2022-11-14 05:09:53 -05:00
joe pribele
0926a226cf removed PRAGMA_DISABLE_OPTIMZATIONS that appear to be left in by accident
#rb zousar.shaker
#preflight 636c1c6f7c2b50519028f593

[CL 23063526 by joe pribele in ue5-main branch]
2022-11-09 16:47:19 -05:00
matija kecman
693d9f5877 MeshModelingToolset: Fix SaveGeneratedTexture2DAsset not preserving sRGB state when overwriting an exisiting texture asset
#rnx
#rb lonnie.li, ryan.schmidt
#preflight 636a5a79f56cab38c71df202

[CL 23026982 by matija kecman in ue5-main branch]
2022-11-08 08:37:52 -05:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
matija kecman
8ff5edadd1 Fix missing header guard in RenderCaptureFunctions.h (Hoard Issue 231728)
#rb david.harvey
#rnx
#preflight 6363b3f9af536047f433dc02

[CL 22951557 by matija kecman in ue5-main branch]
2022-11-03 09:02:02 -04:00
matija kecman
b39658d261 RenderCaptureBaking: Expose render capture baking function to geometry script blueprints
#rnx
#rb ryan.schmidt
#jira none
#preflight 63639fe054471d10be59b31a

[CL 22950334 by matija kecman in ue5-main branch]
2022-11-03 07:15:45 -04:00
semion piskarev
df5a9de541 MeshModelingTools: Fix crash when trying to read from texture that does not have source data in editor.
#rb Ryan.Schmidt
#preflight 6361f8e5522c8f7ab312149a

[CL 22937898 by semion piskarev in ue5-main branch]
2022-11-02 23:06:24 -04:00
henrik karlsson
3b6716a3fc Fixed missing includes when building non unity/pch
#rb none
#preflight skipped

[CL 22803785 by henrik karlsson in ue5-main branch]
2022-10-26 23:30:49 -04:00
henrik karlsson
4a5e13525d Fixed non-unity non-pch compile errors
#preflight skipped
#rb none

[CL 22788359 by henrik karlsson in ue5-main branch]
2022-10-26 16:22:34 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -04:00
ryan schmidt
3addba1a71 ModelingComponents: fix UE::AssetUtils::GetStaticMeshLODMaterialListBySection, it was returning incorrect results for static meshes with re-ordered sections/slots.
#rb lonnie.li
#preflight 6352d5da777a77c440646b05
#jira UE-167960
#lockdown aurel.cordonnier

[CL 22712147 by ryan schmidt in ue5-main branch]
2022-10-22 15:34:39 -04:00
bryan sefcik
117472780d Fixed include paths.
#jira
#preflight 634ee62fe746026e48eb077e

[CL 22621687 by bryan sefcik in ue5-main branch]
2022-10-19 06:39:08 -04:00
jimmy andrews
4b2210d53f Fix missing transform back to world space in single-selection case for BaseCreateFromSelected tools (Merge, VoxWrap, VoxMorph)
#jira UE-166171
#preflight 63408ddd437603cb0e439934
#rb rinat.abdrashitov
#rb tyson.brochu

[CL 22424949 by jimmy andrews in ue5-main branch]
2022-10-09 23:35:03 -04:00
semion piskarev
e1d6ffd423 MeshModelingTools: Add detail customization for selection filter in PolyEd and TriEd, make loop/ring selection imply edge selection, per discussion with ux team.
#rb Lonnie.Li
#jira none
#preflight 633c994a0e66c104f1d2889e

[CL 22338072 by semion piskarev in ue5-main branch]
2022-10-04 16:48:57 -04:00
jimmy andrews
54044d3747 work around crash in physics DDC code by splitting BakeRS and Pivot tool transactions if the object has simple collision w/ convex hulls: First make a transaction with the simple collision update, then make a transaction with the static mesh change.
Only do this for the convex hull case, because the other cases do not seem to crash and splitting the transaction is not ideal.

#jira UE-158466
#rb david.hill
#preflight 633b145def7739456517a156

[CL 22322286 by jimmy andrews in ue5-main branch]
2022-10-03 20:40:33 -04:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00
ryan schmidt
4ffc24f96e Modify various interfaces in ModelingComponents and GeometryScripting to use the engine FMeshNaniteSettings instead of just a "nanite proxy percentage" parameter or custom nanite settings struct. Update affected callers and Lyra assets.
This change does break existing Blueprints that have used the now-deprecated pins/properties. There is no way to gracefully handle this as deprecating the uproperty requires that it no longer be editable in the Blueprint.

#rb jimmy.andrews
#preflight 632b846e10030508061417a9
#jira UE-151882

[CL 22145808 by ryan schmidt in ue5-main branch]
2022-09-22 17:36:58 -04:00
tyson brochu
13d2356535 Add missing LOCTEXT_NAMESPACE
#jira UE-164782
#rb jimmy.andrews
#preflight 632c93f2c7791417aa94c848

[CL 22139262 by tyson brochu in ue5-main branch]
2022-09-22 13:17:54 -04:00
jimmy andrews
13dad012b5 fix lattice dimensions becoming editable on control point movement redo
#jira UE-160342
#rb tyson.brochu
#preflight 632a64b8b40000c8f09f8155

[CL 22119180 by jimmy andrews in ue5-main branch]
2022-09-21 14:46:41 -04:00
ryan schmidt
ae72511e29 ModelingComponents: Modify AssetUtils::ReadTexture()'s PlatformData path to catch and error out if being used in non-Editor builds and the texture format is not TC_VectorDisplacementMap. We cannot change texture format at runtime, because UpdateResource() depends on the source data being available. This is old code that never worked and would just crash outside the Editor.
Add messaging in geometry script functions that call ReadTexture, to hint to the user how to configure their textures to use at runtime

#rb david.hill
#preflight 632a2db16919ce3998922aab
#jira UE-164548

[CL 22114020 by ryan schmidt in ue5-main branch]
2022-09-21 11:37:26 -04:00
jimmy andrews
fdd0d21cdf UV layout previews in the 3D scene should not cast shadows
#jira UE-148493
#rb lonnie.li
#preflight 632a04c4fc7f1efbdf4eb386

[CL 22107234 by jimmy andrews in ue5-main branch]
2022-09-20 22:09:57 -04:00
michael balzer
2483495b86 ModelingMode: Use actor factory when creating static mesh assets
#preflight 63213620506f1a33e08bbaf9
#rb graeme.thornton, rex.hill, david.hill

[CL 22020648 by michael balzer in ue5-main branch]
2022-09-14 20:14:40 -04:00
tyson brochu
9efcc70606 ModelingComponents/Selection:
- create a new MeshTopologySelector base class. The existing GroupTopologySelector class now inherits from it, as does a new BoundarySelector class
- likewise, create a new MeshTopologySelectionMehchanic base class and have (existing) PolygonSelectionMechanic and (new) BoundarySelectionMechanic inherit from it
- the new Boundary classes use FMeshBoundary loops to define selectable loops rather than FGroupTopology

HoleFillTool:
- change to using BoundarySelectionMechanic instead of GroupTopologySelector

Misc:
- allow FMeshBoundaryLoops to fail untangling a loop with bowties but still continue processing other loops


#jira UE-144821
#rb jimmy.andrews
#preflight 63222176e93a80888cb7d3df

[CL 22013854 by tyson brochu in ue5-main branch]
2022-09-14 15:25:19 -04:00