Commit Graph

26 Commits

Author SHA1 Message Date
Ryan Schmidt
c0ba0d5235 ModelingMode: Add support for selection-focus and point-focus at Tool level.
- New UInteractiveToolCameraFocusAPI UInterface defines functions a Tool can implement to publish its ability to provide a focus-box and focus-point
- ModelingMode uses this API to customize behavior. Box-focus (f hotkey) will now always focus on Tool-provided focus-box if available. Point-focus (c hotkey) will focus on nearer of world-hit and Tool focus-point.
- Default implementations for PrimitiveComponentToolTarget in SingleSelectionTool and MultiSelectionTool
- Custom focus-box implementations for PolyEdit-derived and TriSelect-derived tools, to focus on active selection if available
- Custom focus-point implementations for MeshSurfacePointTool

#rnx
#jira none

[CL 16246252 by Ryan Schmidt in ue5-main branch]
2021-05-10 01:17:30 -04:00
lonnie li
e4b41a3d8c ModelingTools: ToolTarget refactor for Sculpt tools
#rb semion.piskarev ryan.schmidt
#jira none
#rnx

[CL 15741814 by lonnie li in ue5-main branch]
2021-03-18 17:20:32 -04:00
brooke hubert
17f0e31526 Placement Mode Single place tool improvements:
* Tweak after placement in world and local space using standard level editor gizmos.
* Removed Single place tool settings. Since we're using the TRS gizmos, these settings are unnecessary.
* Moved cycle through palette to shift + right click to match other viewport functions (i.e. cycling static mesh previews).
* Placement mode now inherits from default ed mode, so we will get the new gizmos as they come online.
* Fixed a bug in the select tool where the input was never making it back to the viewport for handling.
* Fixed a bug in the ITF Editor hooks where the mouse capture was incorrectly reporting and eating the input from the viewport.

#Jira UE-107395
[at]jamie.dale

#ROBOMERGE-SOURCE: CL 15464701 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15466468 by brooke hubert in ue5-main branch]
2021-02-18 20:47:20 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -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
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
ryan schmidt
7e33250cc0 ToolsFramework: UClickDragInputBehavior now tracks whether it is in drag or not, and during drag will not update modifier key states unless new bUpdateModifiersDuringDrag is enabled (default false). MeshSurfacePointTool now updates modifier states in ClickBehavior, and not just hover behavior. This resolves issue where shift-to-smooth/etc wouldn't kick in until the viewport was focused (ie had to click once first)
#rb none
#rnx
#jira none

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

[CL 12237418 by ryan schmidt in Main branch]
2020-03-17 20:01:57 -04:00
ryan schmidt
46af79019f ModelingTools: resolve many sculpting issues & limitations
- fix broken sculpt material that went to white in many cases, replace with diffuse shading and rim light in Emissive channel / unlit texture
- add image-based sculpt materials provided by techart, expose custom variant that allows user-defined shader image
- make flat shading optional in view settings, for relevant shaders
- reorganize properties and update tooltips to be more informative
- fix broken Falloff support and expose in property set, display in brush highlight. Make this separately exposable in BaseBrush property set since we don't need Strength.
- add viewpoint-based Sculpt and Plane brush modes
- fix brush preview location when in hover, was not respecting target surface setting
#rb none
#rnx
#jira none
[FYI] JeanSebastien.Guay

#ROBOMERGE-SOURCE: CL 12164804 in //UE4/Release-4.25/... via CL 12164806
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v661-12148976)

[CL 12164813 by ryan schmidt in Main branch]
2020-03-13 13:40:51 -04: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
jeanmichel dignard
2ce7666d2d Copying //UE4/Dev-Core [at] 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

#ROBOMERGE-OWNER: jeanmichel.dignard
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 10708666 in //UE4/Main/...
#ROBOMERGE-BOT: TOOLS (Main -> Dev-Tools-Staging) (v626-10872990)

[CL 10898071 by jeanmichel dignard in Dev-Tools-Staging branch]
2020-01-07 15:54:23 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -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
Lauren Barnes
256bf3cdc8 Moving some of the more generic brush and tool systems from mesh modeling plugin to InteractiveToolsFramework
#rb Ryan.Schmidt
#jira none

[CL 9818691 by Lauren Barnes in Dev-Editor branch]
2019-10-24 14:46:56 -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
Ryan Schmidt
3163b1346a ModelingTools: MeshSurfacePointTool now tracks ctrl key state, use in SculptTool to invert brush
#rb none
#rnx

[CL 8935995 by Ryan Schmidt in Dev-Editor branch]
2019-09-20 16:43:27 -04:00
Ryan Schmidt
718c31c8c9 ToolsFramework: expand InputBehavior/InputRouter hover implementation so it has hit-test/capture/release like mouse capture. This is required to resolve multiple hoverable objects under. Update all behaviors/tools with new API.
#rb none
#fyi lauren.barnes
#rnx

[CL 8887166 by Ryan Schmidt in Dev-Editor branch]
2019-09-19 10:23:48 -04:00
Rex Hill
64d7948e9c Fix compile error with UnEdMode PostMessage on windows due to a window headers defining PostMessage
#rb none
#rnx
#fyi Ryan.Schmidt

[CL 8696305 by Rex Hill in Dev-Editor branch]
2019-09-16 14:06:18 -04:00
Ryan Schmidt
2332e92367 ToolsFramework: replace FString/TCHAR in various PostMessage functions with FText. Fix up call sites. Add area to modeling panel to display notification messages.
#fyi lauren.barnes
#rb none
#rnx

[CL 8684596 by Ryan Schmidt in Dev-Editor branch]
2019-09-14 00:17:10 -04:00
Chris Gagnon
2e87118a18 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) Interim 4.24.
#rb none

[CL 8614014 by Chris Gagnon in Main branch]
2019-09-10 11:35:20 -04:00
Ryan Schmidt
7d3b0485aa ToolsFramework: Add FInputRayHit that can be used by InputBehaviors and BehaviorTarget interfaces to return more detailed hit info (hit distance, integer ID, etc).
#rb none
#rnx

[CL 8435605 by Ryan Schmidt in Dev-Editor branch]
2019-09-03 17:20:30 -04:00
Ryan Schmidt
692ed0d34d add missing UPrimitiveComponent header
#jira UE-79714
#rb none
#rnx

[CL 8435282 by Ryan Schmidt in Dev-Editor branch]
2019-09-03 17:09:29 -04:00
michael daum
d3e162b42a Allow MeshModeling tools to operate on ProceduralMeshComponent
#rnx none

#rb ryan.schmidt

[CL 7623648 by michael daum in Dev-Editor branch]
2019-07-25 10:09:32 -04:00
michael daum
e306770ba7 Split MeshSource into TargetComponent, MeshSource, and MeshSink
#review-7228172 ryan.schmidt

#rnx

[CL 7275509 by michael daum in Dev-Editor branch]
2019-07-11 10:57:29 -04:00
michael daum
ab449c6efc Simplify mechanism to provide and obtain MeshDescriptionSources. Also expose an API to provide and control access to Sources for custom Components types
#rb ryan.schmidt

#rnx

[CL 7090612 by michael daum in Dev-Editor branch]
2019-06-19 09:28:08 -04:00
ryan schmidt
889b66d92f Move InteractiveToolsFramework and EditorInteractiveToolsFramework modules to Experimental
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 6913333 in //UE4/Dev-Editor/...
#ROBOMERGE-BOT: ENGINE (Dev-Editor -> Main) (v366-6836689)

[CL 6913342 by ryan schmidt in Main branch]
2019-06-10 14:03:39 -04:00