Commit Graph

302 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
479dc14918 Draw Polygon Tool: Add construction plane mechanic to tool.
The tool seems to predate the construction plane mechanic and ought to use it so that changes to the construction plane mechanic are reflected in this tool.

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

[CL 23155352 by Nickolas Drake in ue5-main branch]
2022-11-16 11:40:11 -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
Nickolas Drake
8f3b5614fd UV Project Tool: Make uniform checkbox behave like pattern tool's Proportional checkbox in scale settings.
Instead of just using the x-component when bUniformDimensions is true, the actual dimension vector is changed uniformly and no check is needed when getting the projection box.

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

[CL 23155278 by Nickolas Drake in ue5-main branch]
2022-11-16 11:37:21 -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
Nickolas Drake
af83a7cea2 PolyEdit Insert Edge Activity: Optionally allow users to chain edge insertions by automatically selecting the end point of the just inserted edge as the new start point.
#jira none
#rb Semion.Piskarev
#preflight 636922a4376a9cd6a8f093c7

[CL 23013108 by Nickolas Drake in ue5-main branch]
2022-11-07 12:37:29 -05:00
jimmy andrews
c100a9e893 Fill out the missing tooltips in PolyEd and TriEd tools, and tweak some of the tooltip wording.
#preflight 6363fb711052c15f1396465b
#rb rinat.abdrashitov

[CL 22968442 by jimmy andrews in ue5-main branch]
2022-11-03 18:01:17 -04: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
semion piskarev
7bdac96c18 MeshModelingTools: Fix TriEd flip edge operation selecting wrong edges afterward.
#rb Jimmy.Andrews
#preflight 6361f5fd0c2e7c8f916bb1fd

[CL 22937875 by semion piskarev in ue5-main branch]
2022-11-02 23:06:02 -04:00
semion piskarev
c37a13faa6 MeshModelingTools: Don't consider open boundaries in PolyCut tool to be an unacceptable failure, though write out a warning. Don't try to fix holes by default, to be like MshBool and to avoid closing holes when cutting an open mesh.
#rb Jimmy.Andrews
#preflight 6361e50d6000216d2ed6acb6

[CL 22918067 by semion piskarev in ue5-main branch]
2022-11-02 11:49:19 -04:00
nathan mitchell
be8e0074e5 UVEditor: Merge and unify the RecomputeUVs codebases with the UVEditor and Modeling Mode.
#rb Jimmy.Andrews
#preflight 635c0d7cae6840072d339bd4

[CL 22831760 by nathan mitchell in ue5-main branch]
2022-10-28 13:26:45 -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
nathan mitchell
a95124d72e ModelingMode: Merge and unify the Layout codebases between the UV Editor and Modeling Mode.
#rb rinat.abdrashitov
#preflight 634ed9bfac7f102b31e5cb58

[CL 22704078 by nathan mitchell in ue5-main branch]
2022-10-21 19:03:38 -04:00
nathan mitchell
4c0fea9bd9 ModelingTools: Merge and unify the AutoUV codebases between the UV Editor and Modeling Mode.
#rb semion.piskarev
#preflight 63471663663dafe4163eb8ec

[CL 22701310 by nathan mitchell in ue5-main branch]
2022-10-21 17:27:26 -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
72486bc1fe fix MshDup inverting faces when duplicating any mesh with a negative scale
#jira UE-167274
#rb rinat.abdrashitov
#preflight 634b7adaf622f6c4bb7eddaa

[CL 22567516 by jimmy andrews in ue5-main branch]
2022-10-17 12:30:43 -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