Commit Graph

136 Commits

Author SHA1 Message Date
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
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
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
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
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
tyson brochu
ec28b3bb51 Lattice tool: hide gizmo if only constrained vertices are selected
#jira UE-133082
#rb rinat.abdrashitov
#preflight 631f9432e07c4dc0b12df4bb

[CL 21984706 by tyson brochu in ue5-main branch]
2022-09-13 12:11:52 -04:00
jimmy andrews
713456a6f0 LWC fixes for polyedit and polypath tools: Keep preview meshes centered near the origin, with translation on the transform rather than baked, because rendering stores the mesh vertices in floating point
#jira UE-158024
#jira UE-158002
#rb tyson.brochu
#preflight 631a4804ec45fbf3d741b365

[CL 21916252 by jimmy andrews in ue5-main branch]
2022-09-09 01:37:45 -04:00
semion piskarev
f55c16366b MeshModelingTools: Fix gizmo not showing up when same selection is made via marquee in lattice tool.
#rb Jimmy.Andrews
#jira UE-142884
#preflight 631757f5032bd43d8648ed16

[CL 21817948 by semion piskarev in ue5-main branch]
2022-09-06 11:14:39 -04:00
Jimmy Andrews
3b34efaaf4 Fix previewmesh::findrayintersection normal for preview meshes with non-uniform scaling
#preflight 63110bdc2b3d6c082809a49c
#rb david.hill

[CL 21749273 by Jimmy Andrews in ue5-main branch]
2022-09-01 18:05:31 -04:00
henry falconer
2e427c809a Removed an ensure that could fail while reading from a valid texture that has no source art
#rb tyson.brochu
#rn fix geometry
#preflight 6310b4b8840bf1e5c3751f54

[CL 21739446 by henry falconer in ue5-main branch]
2022-09-01 09:49:45 -04:00