Commit Graph

167 Commits

Author SHA1 Message Date
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
jimmy andrews
477d623650 fix issue where pressing modifier keys during a mouse drag could cause the drag to report spurious mouse input at 0,0 for a few ITF behaviors
#rb semion.piskarev

[CL 29320107 by jimmy andrews in ue5-main branch]
2023-11-01 12:06:39 -04:00
jimmy andrews
7e1b8e46d9 add concept of saving-on-clear/restoring the selection manager's selection, so that tools can restore the before-tool selection if the tool is cancelled, or if the tool otherwise did not change the underlying meshes.
+ add a callback to the modeling editor mode so it can know whether a tool was cancelled, and make the modeling mode use the selection manager's new save-on-clear/restore feature automatically when its tools are cancelled.

 + make some tools (normals, tangents, inspector) restore the before-tool-start selection after tool use via a utility function, since they shouldn't change mesh IDs that the selection relies on.

#jira UE-195948
#rb Ryan.Schmidt

[CL 29027037 by jimmy andrews in ue5-main branch]
2023-10-23 22:46:23 -04:00
jimmy andrews
6d14389953 Update comments to make it clear that fchange can be called inside other transactions, and move the dynamic sculpt close-transaction call to after the fchanges so we don't need to rely on the placeholder transaction being empty and deleting itself
#rb rinat.abdrashitov

[CL 28927667 by jimmy andrews in ue5-main branch]
2023-10-19 14:44:22 -04:00
semion piskarev
c28ca17955 InteractiveToolsFramework: Fix hover behaviors terminating when a modifier key is pressed.
#rb Brooke.Hubert

[CL 28779390 by semion piskarev in ue5-main branch]
2023-10-13 19:25:57 -04:00