Commit Graph

171 Commits

Author SHA1 Message Date
lonnie li
bd8cb163a1 InteractiveToolsFramework: Fixed brush resizing sensitivity when bSpecifyRadius is false.
#rb Jimmy.Andrews
#jira UE-215755

[CL 34092139 by lonnie li in ue5-main branch]
2024-06-04 09:21:26 -04:00
lonnie li
6f0b6b26b1 InteractiveToolsFramework: Separate the BaseBrushTool's BrushAdjusterInputBehavior click drag handling into its own behavior.
Previously BrushAdjusterInputBehavior was used to set a toggle that would be read during the On*Drag callbacks to differentiate between a "brush stroke" and a "brush adjustment". This was error prone for both new and old tools that derived off of BaseBrushTool as it broke or was easy to break assumptions made in the tool's drag callbacks. With this separation, OnBeginDrag/OnUpdateDrag/OnEndDrag will only be called for brush strokes.

Additional minor fixes:
- Disabled the BrushAdjusterBehavior for SeamSculpt.
- Fixed initial BrushAdjuster HUD display prior to first drag.

#rb Jimmy.Andrews
#jira UE-213223

[CL 33797602 by lonnie li in ue5-main branch]
2024-05-21 11:43:23 -04:00
lonnie li
bd2042e9f9 ModelingTools: Allow BrushAdjusterInputBehavior to drive BrushSize when bSpecifyRadius is false.
#rb jimmy.andrews
#jira UE-214898

[CL 33643358 by lonnie li in ue5-main branch]
2024-05-14 20:38:23 -04:00
kiaran ritchie
df36e9edea Speed when adjusting brush size is now proportional to distance from camera.
#rb halfdan.ingvarsson
#JIRA UE-213808

[CL 33385568 by kiaran ritchie in ue5-main branch]
2024-05-01 18:39:39 -04:00
kiaran ritchie
478f94de69 Improvements to skin paint relax mode
- Toggle to relax now uses relax mode settings
- Made relax operation iterative to prevent over-relaxing within a single operation.
- Added skin paint brush mode and color modes to config file

#rb halfdan.ingvarsson
#JIRA UE-209449, UE-211086, UE-211087

[CL 33319174 by kiaran ritchie in ue5-main branch]
2024-04-30 01:02:40 -04:00
David Hill
07d11f3cdc ToolDataVisualizer - fix type cast warning.
#jira none
#rb david.hill

[CL 33266587 by David Hill in ue5-main branch]
2024-04-26 11:59:13 -04:00
federico lopez
cff04ea5d1 Add DrawDisc to ToolDataVisualizer
The existing DrawCircle function draws a circle that cannot be filled

#rb brooke.hubert, david.hill, stuart.hill

[CL 33225690 by federico lopez in ue5-main branch]
2024-04-25 05:04:09 -04:00
nathan mitchell
992f2ab7fd InteractiveToolsFramework: Provide new API for controlling mouse cursor styling during tool operations and prevent excessive hit proxy testing when ITF has mouse capture active.
As a proof of concept, enables the eyedropper cursor during the UV Editor's Texel Density tool's Sampling Mode.

New API is disabled by default, to enable set CVAR Editor.EnableITFCursorOverrideSupport > 1

#rb brooke.hubert, Jimmy.Andrews
#jira UE-207211, UE-207208

[CL 33217562 by nathan mitchell in ue5-main branch]
2024-04-24 19:07:23 -04:00
henrik karlsson
ec08ff1e79 Change filetype from utf8 to text to be consistent with rest of engine
[CL 33153883 by henrik karlsson in ue5-main branch]
2024-04-22 18:04:47 -04:00
steve robb
bd31b2021c Fixed miscelleneous potentially uninitialized FVectors.
#jira UE-87511

[CL 32980682 by steve robb in ue5-main branch]
2024-04-15 20:17:01 -04:00
kiaran ritchie
481762b232 Various fixes to skin paint tool
- improved brush falloff and strength rendering
- falloff updates in realtime in viewport when adjusted

#rb halfdan.ingvarsson, tyson.brochu
#JIRA UE-209447

[CL 32976766 by kiaran ritchie in ue5-main branch]
2024-04-15 17:07:34 -04:00
kiaran ritchie
cbf35d507a Backing out changelist 32526171 which was submitted accidentally.
#JIRA UE-210598, UE-210599

[CL 32527242 by kiaran ritchie in ue5-main branch]
2024-03-26 18:30:44 -04:00
kiaran ritchie
d5a1f3a4b9 Various fixes to skin paint tool
- improved brush falloff and strength rendering
- falloff updates in realtime in viewport when adjusted
- added multi-color bone support

#JIRA UE-210598, UE-210599

[CL 32527002 by kiaran ritchie in ue5-main branch]
2024-03-26 18:27:31 -04:00
jimmy andrews
f79612960d make static mesh <-> dynamic mesh conversion be aware of section (polygon group ID) to material index mappings
#jira UE-200228
#rb David.Hill

[CL 32004596 by jimmy andrews in ue5-main branch]
2024-03-04 18:33:07 -05:00
yoan stamant
0d5635a910 Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31470741 by yoan stamant in ue5-main branch]
2024-02-14 09:15:30 -05:00
alex kahn
cdfd11e33e [Backout] - CL31425693 - CIS UE Error Backout 4/4
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31440421 by alex kahn in ue5-main branch]
2024-02-13 14:37:03 -05:00
yoan stamant
00a0c5ac5d Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31425867 by yoan stamant in ue5-main branch]
2024-02-13 09:57:09 -05:00
kiaran ritchie
ffde41037b Fixes issue, brush radius does not update in realtime in viewport
#rb halfdan.ingvarsson
#JIRA UE-191149

[CL 31407385 by kiaran ritchie in ue5-main branch]
2024-02-12 19:21:26 -05:00
kiaran ritchie
1281576805 Fixing build break from 30978118
#rb halfdan.ingvarsson

[CL 30981166 by kiaran ritchie in ue5-main branch]
2024-01-29 19:07:03 -05:00
kiaran ritchie
484fda5403 Fixes bug skin paint tool properties not synchronized with viewport brush adjustments.
Fixes issue with brush settings not save per brush mode

#rb halfdan.ingvarsson
#JIRA UE-199992, UE-199994

[CL 30980384 by kiaran ritchie in ue5-main branch]
2024-01-29 18:29:09 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
semion piskarev
1501b2e7dd InteractiveToolsFramework: Fix context object store FindContextByClass not being able to look up context objects based on UInterfaces.
#rb lonnie.li
#jira UE-196706

[CL 30600757 by semion piskarev in ue5-main branch]
2024-01-12 14:43:54 -05:00
marc audy
763a611985 Fix C4072 warnings
#rnx

[CL 29852844 by marc audy in ue5-main branch]
2023-11-20 17:26:53 -05:00
benoit gadreau
a9607bbff7 New TRS Gizmo: partial view dependent rendering improvements
- use the ViewAlignAxialMaxCosAngleTol property instead of the default one to enable per-element customization
    - reduced the max partial angle of rotation handles so that they don't depth fight with the arcball handle on edges

#rb brooke.hubert
#rnx

[CL 29680588 by benoit gadreau in ue5-main branch]
2023-11-13 06:09:58 -05:00
benoit gadreau
9fd417fa97 New TRS Gizmo: fixed UGizmoElementBase::GetViewDependentVisibility that was using the local axis for angle computation
- this had the effect of not hidding the axis and plane handles in the correct scenarios

#rb brooke.hubert

#rnx

[CL 29566351 by benoit gadreau in ue5-main branch]
2023-11-08 13:01:40 -05:00