Commit Graph

23 Commits

Author SHA1 Message Date
semion piskarev
c282c27616 MeshModelingTools: Allow user to create a new asset in CubeGrid tool if underlying asset is deleted.
#rb Jimmy.Andrews, Ryan.Schmidt
#jira UE-148700
#preflight 626032cd35680893eefc29c3

[CL 19855556 by semion piskarev in ue5-main branch]
2022-04-21 16:41:57 -04:00
semion piskarev
627333a3dd MeshModelingTools: Fix crash on CubeGrid tool completion when underlying asset is deleted.
#rb Jimmy.Andrews
#jira UE-148700
#preflight 62604806e30cb43e8cc46bb2

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 19835009 in //UE5/Release-5.0/... via CL 19838315
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19840628 by semion piskarev in ue5-main branch]
2022-04-20 18:55:50 -04:00
semion piskarev
1b58ea3351 MeshModelingTools: Fix crash in CubeGrid tool when undoing out of the tool after modifying the target.
#rb Jimmy.Andrews
#jira UE-148710
#preflight 62602d8bdd47b4ad2173c525

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 19833591 in //UE5/Release-5.0/... via CL 19836101
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19840040 by semion piskarev in ue5-main branch]
2022-04-20 18:33:27 -04:00
semion piskarev
15ad078986 MeshModelingTools: Transact the bChangesMade flag in CubeGrid tool so that it is properly undone and redone.
#rb Jimmy.Andrews
#jira UE-148710
#preflight 626040fe35680893ee01dbd3

[CL 19833881 by semion piskarev in ue5-main branch]
2022-04-20 13:42:16 -04:00
semion piskarev
eb8d9fe187 MeshModelingTools: Fix incorrect ray direction transformation in CubeGrid and PolyEd focus.
#rb Nathan.Mitchell
#jira none
#preflight 62339cfc6666d7e7539ff450

[CL 19434207 by semion piskarev in ue5-main branch]
2022-03-18 08:32:15 -04:00
semion piskarev
8f0169fb91 MeshModelingTools: CubeGrid improvements.
- Fix bugs with how the tool deals with materials.
- Make UV's always stay aligned in the same orientation.
- Make UV's be contiguous when performing multiple steps with the same selection.
- Make sides maintain same groups with repeated steps of the same selection.
- Add support for scaling UV's.
- Add support for focus hotkey.
Also change how frame is chosen when subtracting to avoid some weird flipping logic.

#rb Matija.Kecman, Lonnie.Li
#jira none
#preflight 622b58e032749f363c82087b

[CL 19353955 by semion piskarev in ue5-main branch]
2022-03-11 09:28:29 -05:00
semion piskarev
b3d2f4c811 MeshModelingTools: Fix infinite loop crash in CubeGrid tool when cell size is set to 0.
#rb Rinat.Abdrashitov
#rnx
#jira UE-144218
#preflight 621e30cab20446f11c615210

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 19199179 in //UE5/Release-5.0/... via CL 19200495
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19214872 by semion piskarev in ue5-main branch]
2022-03-01 21:06:13 -05:00
zak middleton
cbbda06e18 #ue5 - Fix FMath::Clamp() and FMath::GridSnap() incorrectly mixing signed/unsigned types when an explicit signed template type is requested.
Changed macro used to resolve overloads for these 2 functions to the one requiring one actual float/double type in the arguments. Removed old macro that allowed mixing signed/unsigned int types and replaced it with one that requires all the types to be signed to match any overloads (tested but currently unused).

Resolved some compile errors that resulted from newly ambiguous calls that mixed signed/unsigned integer types.

#jira UE-143473
#rb Andrew.Davidson
#preflight 6215382b30639b44d2f52355


#ROBOMERGE-AUTHOR: zak.middleton
#ROBOMERGE-SOURCE: CL 19098314 via CL 19099699 via CL 19100188 via CL 19100709 via CL 19109894
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19147214 by zak middleton in ue5-main branch]
2022-02-25 10:09:25 -05:00
ryan schmidt
6ad26b69f0 rename UE::Geometry::TTransform3 to TTransformSRT3, update references
#rb none
#rnx
#jira UE-139757
#preflight 61f572d9e52a8a4a910990f1

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 18784197 in //UE5/Release-5.0/... via CL 18784203 via CL 18784222
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18784226 by ryan schmidt in ue5-main branch]
2022-01-29 14:37:53 -05:00
semion piskarev
8230e1de65 MeshModelingTools: In cube grid tool, allow Ctrl+drag extrude setting to work for corner mode the same way it does in normal mode.
#rb Lonnie.Li, Michael.Balzer
#rnx
#jira none
#preflight 61f4087e74510448a68135df

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 18773983 in //UE5/Release-5.0/... via CL 18773992 via CL 18774109
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18774137 by semion piskarev in ue5-main branch]
2022-01-28 13:03:31 -05:00
semion piskarev
273acf129f MeshModelingTools: Flip E/Q controls in CubeGrid tool to align with flight controls. Display message showing whether tool is creating a new asset or editing an existing one.
#rb Lonnie.Li
#rnx
#jira none
#preflight 61dd984b9b2dd4f66b739385

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 18571880 in //UE5/Release-5.0/... via CL 18571910
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18571943 by semion piskarev in ue5-release-engine-test branch]
2022-01-11 10:12:18 -05:00
ryan schmidt
db857d56b6 ModelingTools: convert various tools/mechanics/etc to use new SnappingManager functionality for scene hit-tests and snapping
#rb david.hill
#rnx
#jira none
#preflight 61b21920d308710b0c513796

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 18419130 in //UE5/Release-5.0/... via CL 18422407
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18422664 by ryan schmidt in ue5-release-engine-test branch]
2021-12-09 14:46:09 -05:00
jimmy andrews
fd07763a78 remove UE::Geometry::TRay3 and replace usages with UE::Math::TRay
#rb tyson.brochu
#rnx
#preflight 6195872476668b37001d1141

#ushell-cherrypick of 18231220 by Jimmy.Andrews

#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 18232491 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)

[CL 18232527 by jimmy andrews in ue5-release-engine-test branch]
2021-11-17 21:06:46 -05:00
michael balzer
b8a1c9b6cf GeometryCore: Remove ExplicitUseGeometryMathTypes.h
#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 18227685 in //UE5/Release-5.0/... via CL 18229350
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18231457 by michael balzer in ue5-release-engine-test branch]
2021-11-17 19:02:44 -05:00
semion piskarev
8e75f5d5e7 MeshModelingTools: Fix thread issues in edge loop insertion, edge insertion, and cube grid tool activities.
#rb Tyson.Brochu
#rnx
#jira UE-126076
#preflight 616f23439f18020001d76b25

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 17884530 in //UE5/Release-5.0/... via CL 17884547
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v883-17842818)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17884554 by semion piskarev in ue5-release-engine-test branch]
2021-10-21 10:11:02 -04:00
ryan schmidt
12f074e656 ModelingTools: optional path tracing support inside Modeling Tools
- Add new UModelingComponentsSettings which has settings for in-tool preview mesh rendering and emitted new mesh objects
- Add ToolSetupUtil::ApplyRenderingConfigurationToPreview() utility functions, most Tools now call this function to configure UPreviewMesh/DynamicMeshComponents they create for mesh editing preview rendering (uses Settings to make setup decisions like RT on/off)
- add PreviewMesh::NotifyWorldPathTracedOutputInvalidated(), forces invalidation of current path tracing result, call from various PreviewMesh internal functions
- UCreateMeshObjectTypeProperties::ConfigureCreateMeshObjectParams() now configures new-mesh-object parameters with RT and Collision from UModelingComponentsSettings
- DynamicMeshComponent now defaults to raytracing-enabled, usage in Editor is controlled by above settings

#rb rinat.abdrashitov
#rnx
#jira none
#preflight 615f376bf0ee840001cab0fc

#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 17753416 in //UE5/Release-5.0/... via CL 17758212
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v879-17706426)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17758266 by ryan schmidt in ue5-release-engine-test branch]
2021-10-07 22:25:54 -04:00
semion piskarev
8e8ba75de7 MeshModelingTools: Fix normals being incorrectly set in our box generator. Fix wrong diagonal being picked occasionally in corner mode of CubeGrid tool.
#rb Ryan.Schmidt
#jira none
#rnx
#preflight 614ccab3008d4b000105799e

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 17613539 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17613558 by semion piskarev in ue5-release-engine-test branch]
2021-09-23 16:34:33 -04:00
andrew davidson
57beb335f2 Merging //UE5/Dev-LargeWorldCoordinates [at] 17581892 to //UE5/Main
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 17595295 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17595306 by andrew davidson in ue5-release-engine-test branch]
2021-09-22 10:01:48 -04:00
semion piskarev
c3de4bf8fc MeshModelingTools: Fix flip not working in CubeGrid tool, fix Escape not correctly clearing selection there, fix incorrect face being picked on transformed meshes and transformed grid plane.
#rb Jimmy.Andrews
#rnx
#jira none
#preflight 14962b3338ee5000137ff49

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 17581896 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17581911 by semion piskarev in ue5-release-engine-test branch]
2021-09-21 09:24:27 -04:00
semion piskarev
bb2f05c8b2 MeshModelingTools: Trivial cubegrid hotkey change discovered through DDC build warning.
#rb none
#rnx

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 17540300 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17540324 by semion piskarev in ue5-release-engine-test branch]
2021-09-16 12:41:11 -04:00
semion piskarev
d98315efca MeshModelingTools: Another CIS fix in cube grid tool in non-LWC build.
#rb none
#jira none
#rnx

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 17523949 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17523969 by semion piskarev in ue5-release-engine-test branch]
2021-09-15 14:30:33 -04:00
semion piskarev
5b328b38a5 MeshModelingTools: Fix CIS error in cube grid tool.
#rb none
#jira none
#rnx

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 17522904 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17522914 by semion piskarev in ue5-release-engine-test branch]
2021-09-15 13:24:16 -04:00
semion piskarev
b6e050a125 MeshModelingTools: Added a CubeGrid tool, which allows for blocky boolean operations on an orientable power-of-two grid.
#rb Jimmy.Andrews, Matija Kecman
#rnx
#jira none
#preflight 6142002f8169560001cf8b91

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 17520534 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17520546 by semion piskarev in ue5-release-engine-test branch]
2021-09-15 11:24:36 -04:00