Commit Graph

65 Commits

Author SHA1 Message Date
semion piskarev
bdf43a29db MeshModelingToolset: Added a way to store tool selections between tool invocations and used it in PolyEdit tool.
#rb Ryan.Schmidt
#jira UETOOL-2372
#rnx

[CL 14745200 by semion piskarev in ue5-main branch]
2020-11-13 14:07:30 -04:00
Max Chen
4005c894a3 Editor: EndTracking returns true only if there's an active tool (ie. paired with StartTracking)
#jira UE-102741
#rb brooke.hubert, ryan.schmidt

[CL 14704708 by Max Chen in ue5-main branch]
2020-11-10 14:07:46 -04:00
semion piskarev
e7a2302cb1 MeshModelingTools: Made it possible to change tools without hitting accept. This involved making CanStartTool not check that no tool is active, so places where that function was used were tweaked to keep functionality the same. Also made buttons be highlighted when a specific tool is used.
#rb Ryan.Schmidt, Jimmy.Andrews
#jira none
#rnx

[CL 14672058 by semion piskarev in ue5-main branch]
2020-11-05 18:33:19 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
brooke hubert
d4c157384c Initial Creation of Asset Placement Mode UI for tools and commands.
# Added a save and load config on the settings class for UEdMode so mode wide settings would be sticky between runs.
# Removed FString refs in some functions so they could be bound using UObject delegate methods.

#rnx
#Jira UE-98157
#review-14449500
#rb lauren.barnes

[CL 14451570 by brooke hubert in ue5-main branch]
2020-10-08 18:56:55 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Fred Kimberley
eb2edb9b69 Adding lightweight instances subsystem for gameplay objects.
Lightweight instances allow a low memory representation of objects. Instances can be converted into full actors when necessary. Actors can also be reduced down to light weight instances when the full representation is no longer needed.
Hit results now return a handle that may refer to either an actor or lightweight instance.

#rb Michael.Noland

[CL 14369221 by Fred Kimberley in ue5-main branch]
2020-09-22 15:55:19 -04:00
michael daum
6d663c6489 InteractiveToolsFramework: Add render query information to tell if a viewport is hovered and/or focused
#rb ryan.schmidt
#rb tyson.brochu

[CL 14345629 by michael daum in ue5-main branch]
2020-09-18 09:25:18 -04:00
brooke hubert
c1d9000bb6 Fixing a shutdown crash with the static global editor mode tools lifecycle when cooking.
#rnx
#Jira UE-98135
#rb geoff.evans

[CL 14258203 by brooke hubert in ue5-main branch]
2020-09-03 19:01:59 -04:00
brooke hubert
e85ae49f14 The EditorToolsContext is now owned by the mode manager.
Updated Mesh Paint, geometry, arch gen, hair lab, and sample editor modes to reflect changes to the tools context ownership.

#Jira UE-96448
#rb lauren.barnes michael.daum
#fyi ryan.schmidt simon.barsky jack.greasley
#review-14189762
#review-14189796
#review-14189767
#review-14189774
#review-14189785

[CL 14247116 by brooke hubert in ue5-main branch]
2020-09-02 15:43:58 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
michael daum
f0a80902be InteractiveToolsFramework: Add DrawHUD capability to Tools
#jira none
#rnx
#rb lauren.barnes
#rb brooke.hubert

[CL 14222728 by michael daum in ue5-main branch]
2020-08-31 16:54:59 -04:00
michael daum
e724a8c1c1 InteractiveToolsFramework: Make SceneView available from IToolsContextRenderAPI
#jira none
#rnx
#rb none

#ushell-cherrypick of 14117096 by michael.daum

[CL 14181080 by michael daum in ue5-main branch]
2020-08-25 13:06:53 -04:00
brooke hubert
48113fc77e Adding EditorFramework to build.cs files
#rnx
#Jira UE-96448
#rb chris.gagnon

[CL 14114839 by brooke hubert in ue5-main branch]
2020-08-14 13:24:16 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
ryan schmidt
e7f3baf1ca Edigrate Dev-Editor updates to InteractiveToolsFramework, GeometryProcessing, MeshModelingToolset, and ModelingTools Editor Mode Plugins. Update a few files in new MeshPaint Plugin for UInteractiveTool rename of ::Tick() to ::OnTick().
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 12908995 via CL 12908996 via CL 12909001
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12909003 by ryan schmidt in Main branch]
2020-04-18 18:42:59 -04:00
lauren barnes
8872ec395f Mesh click tool now uses hit proxies to find initial clicked actors
#jira UE-91325
#rb Ryan.Schmidt
#lockdown Simon.Tourangeau

#ROBOMERGE-SOURCE: CL 12489539 in //UE4/Release-4.25/... via CL 12489543 via CL 12489546
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12489549 by lauren barnes in Main branch]
2020-03-30 15:59:16 -04:00
ryan schmidt
05603347d8 ModelingMode: add mechanism to schedule actions to process on next editor Tick(). This allows us to defer execution of complex operations like staticmesh rebuild to outside of slate button-click handlers, which (hopefully) will work around some mystery crashes that occur during very deep call stacks (eg when the staticmesh build launches a slowtask progress dialog, that then explicitly processes windows messages, which results in mouse events being processed, which kicks off a hitproxy rendering call, that in turn causes the RHI to try to rebuild rendering data, on the mesh that is being rebuilt - whew!)
#rb none
#rnx
#jira none

#ROBOMERGE-SOURCE: CL 12235070 in //UE4/Release-4.25/... via CL 12235071
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v664-12234175)

[CL 12237474 by ryan schmidt in Main branch]
2020-03-17 20:02:49 -04:00
ryan schmidt
49acf8b3fb ModelingTools: add some special-case code that allows alt+mouse navigation to work during draw-polygon tool
#rb none
#rnx
#jira none

#ROBOMERGE-SOURCE: CL 12122720 in //UE4/Release-4.25/... via CL 12122722
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v657-12064184)

[CL 12122725 by ryan schmidt in Main branch]
2020-03-10 23:42:51 -04:00
ryan schmidt
7ab9bd7f86 ModelingTools: Disable override of dynamic exposure because it then falls back to fixed exposure which may result in scene basically becoming all black
#rb none
#rnx
#jira none

#ROBOMERGE-SOURCE: CL 12114158 in //UE4/Release-4.25/... via CL 12114170
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v657-12064184)

[CL 12114206 by ryan schmidt in Main branch]
2020-03-10 14:46:20 -04:00
ryan schmidt
3d041def4f Use Engine default vertex color material instead of path to material in QAGame
#rb none
#rnx
#jira UE-90271
[FYI] lauren.barnes

#ROBOMERGE-SOURCE: CL 12024329 in //UE4/Release-4.25/... via CL 12024358
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 12024380 by ryan schmidt in Main branch]
2020-03-06 17:21:15 -05:00
ryan schmidt
9eaf744660 Fix mouse capture issue in UEdModeInteractiveToolsContext, where user can get stuck in capture state (eg stuck in sculpting brush) by depressing alt key while doing action and then releasing left-mouse with alt-key still down, and then releasing alt. Also copied this fix to UEdMode where the logic had been duplicated.
#rb none
#rnx
#jira UE-90220
[FYI] lauren.barnes

#ROBOMERGE-SOURCE: CL 11995406 in //UE4/Release-4.25/... via CL 11995448
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11995534 by ryan schmidt in Main branch]
2020-03-05 22:58:14 -05:00
ryan schmidt
36a06305a5 EdModeInteractiveToolsContext override of ViewportClient now iterates through existing viewports instead of using global GCurrentLevelEditingViewportClient, which is not safe to hold onto as it could be deleted at any time.
#rb none
#rnx
#jira UE-87675

#ROBOMERGE-SOURCE: CL 11887462 in //UE4/Release-4.25/... via CL 11887476
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11887509 by ryan schmidt in Main branch]
2020-03-03 16:47:29 -05:00