Commit Graph

48 Commits

Author SHA1 Message Date
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
Max Chen
b4881d8bf8 Copying //UE4/Dev-Editor to Dev-Tools-Staging (//UE4/Dev-Tools-Staging) @11123875
#rb none
#jira none

[CL 11123880 by Max Chen in Dev-Tools-Staging branch]
2020-01-27 20:11:15 -05:00
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00
Chris Gagnon
346a4b05ea Copy up from Dev-Editor @10681378
#rb none

[CL 10837446 by Chris Gagnon in Dev-Tools-Staging branch]
2019-12-19 18:07:47 -05:00
Ryan Schmidt
84b585c2c7 ToolsFramework: use new EditorViewportClient ShowFlags Override functionality to Disable TAA, MotionBlur, and EyeAdaptation during modeling mode
#rb none
#rnx
#fyi lauren.barnes

[CL 10498357 by Ryan Schmidt in Dev-Editor branch]
2019-12-03 13:39:22 -05:00
Ryan Schmidt
b24e692ea3 ToolsFramework: workaround to ignore command hotkeys when in right-mouse fly+WASD mode (hence allowing those keys to be used as hotkeys when not in fly mode). Add an internal InputBehavior to UEdModeInteractiveToolsContext that captures right-mouse with highest priority. During that capture allow fly-mode to occur (ie don't set bLockFlightCamera=true) but set flag that we are in this mode. ModelingToolsEditorMode checks that flag before calling ProcessCommandBindings() on command list.
Note that this prevents right-mouse from being captured by any tool/gizmo (which seems like correct main-viewport behavior since fly mode needs to always work)

#rb none
#rnx
#fyi lauren.barnes

[CL 10495457 by Ryan Schmidt in Dev-Editor branch]
2019-12-03 09:30:19 -05:00
Ryan Schmidt
1818067cc7 ToolsFramework: these changes (copied from Paint Mode) allow fly camera to capture mouse and prevent us from enabling tools during flycam movements
#rb none
#rnx
#fyi lauren.barnes

[CL 10036164 by Ryan Schmidt in Dev-Editor branch]
2019-11-05 20:24:52 -05:00
Ryan Schmidt
9e762b60d3 ToolsFramework: add world-grid snap query that is usable by Tools
#rb none
#rnx

[CL 10031853 by Ryan Schmidt in Dev-Editor branch]
2019-11-05 17:19:53 -05:00
Ryan Schmidt
e24511b0ea ToolsFramework: in Orthographic views, ViewportTransform.Rotation is not initialized, so construct rotation based on similar code in FEditorViewportClient
#rb none
#rnx
#fyi Lauren.Barnes

[CL 9965759 by Ryan Schmidt in Dev-Editor branch]
2019-11-03 20:34:36 -05:00
Chris Gagnon
d1973355bc Merge Dev-Tools-Stagng tp Dev-Editor
#rb none

[CL 9961726 by Chris Gagnon in Dev-Editor branch]
2019-11-01 17:39:56 -04:00
ryan schmidt
b23c5506f8 Don't allow Actors being actively sculpted to be deleted in Editor (copy CL 9944430 from Dev-Editor)
#jira UE-81588
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 9944761 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v558-9892490)

[CL 9944765 by ryan schmidt in Main branch]
2019-10-31 17:12:21 -04:00
Ryan Schmidt
ac6721bd1d ModelingTools: add IToolFrameworkComponent UInterface, have UBaseDynamicMeshComponent implement it, and use this to prevent parent Actor from being deleted in UEdModeInteractiveToolsContext
#rb none
#rnx

[CL 9944430 by Ryan Schmidt in Dev-Editor branch]
2019-10-31 17:07:22 -04:00
michael daum
9051204d73 Fix Jira UE-82061
Add signal handling to accept and tear down current tool prior to World destruction

#jira UE-82061

#rb richard.talbot-watkins ryan.schmidt

#ROBOMERGE-SOURCE: CL 9838995 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v546-9757112)

[CL 9839006 by michael daum in Main branch]
2019-10-25 10:19:25 -04:00
Lauren Barnes
611820fc19 Moving generic notification functions from EdModeInteractiveToolsContext to InteractiveToolsContext
#rb Ryan.Schmidt
#jira none

[CL 9818320 by Lauren Barnes in Dev-Editor branch]
2019-10-24 14:44:46 -04:00
Chris Gagnon
8ab0638182 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.24
#rb none

[CL 9325047 by Chris Gagnon in Main branch]
2019-10-01 20:41:42 -04:00
Richard TalbotWatkin
1cd94f81c3 Added StaticMeshDescription module for defining attributes and operations required in editor and at runtime for MeshDescriptions for static meshes.
Provided a path for building MeshDescriptions for static meshes at runtime, and supporting API.
Clarified use of attributes for static meshes; now some attributes may be considered optional.
Added FStaticMeshAttributes, used for fetching and registering all the attributes required by a static mesh.
Added Blueprint interface for building meshes.
Deprecated a number of existing APIs:
 - FMeshDescription methods which referred explicitly to static mesh specific attributes
 - StaticMesh attribute registration has been moved to FStaticMeshAttributes
#rb none

[CL 9123037 by Richard TalbotWatkin in Dev-Editor branch]
2019-09-26 05:03:53 -04:00
Chris Gagnon
211b835c0c Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 9116570 by Chris Gagnon in Dev-Editor branch]
2019-09-25 19:56:41 -04:00