Commit Graph

159 Commits

Author SHA1 Message Date
nathan mitchell
d5efc886ae ToolPresets: Address issues around CI cooking steps with default preset creation
Reimplements default presets to be stored on disk as JSON configuration files, loaded at editor startup into a transient collection asset.

#rb semion.piskarev
#preflight 6438852f8e01968448f53623

[CL 25034721 by nathan mitchell in ue5-main branch]
2023-04-13 19:05:27 -04:00
nathan mitchell
1028ece937 Modeling Mode: Interactive Tool Preset Feature Version 2
Adds a preset manager with controls to edit preset labels and tooltips, display both project level and user level presets, and create/delete user level preset collections.
Presets are now saving internal tool setting state via json encoded strings, to avoid issues with transient class flags.
Presets are now either created by the user under project trees or via the preset manager in the plugin tree to act as user level preset collections.
A default preset collection is automatically created upon editor start up if none exists prior.
The default preset is used as the destination for all new presets until explicitly overridden by the user within an editor session.
Preset updating is removed for the time being.

#rb semion.piskarev
#preflight 6435e3b52909bc56c8f4c37a

[CL 25000852 by nathan mitchell in ue5-main branch]
2023-04-11 19:28:52 -04:00
ryan schmidt
360f088554 ModelingMode: reorganize tool palettes
#rb none
#preflight 6434414e28551807176576f0

[CL 24983988 by ryan schmidt in ue5-main branch]
2023-04-10 17:09:16 -04:00
ryan schmidt
d83ee312b8 ModelingMode: bring back in-viewport selection toolbar. Add concept of Locking to IGeometrySelector, have StaticMeshSelector and VolumeSelector default to locked. Add util functions to check/manipulate locking state to UGeometrySelectionManager. Add locked-state indicator/button to selection toolbar.
#preflight 642df231c6769c608209676a
#rnx

[CL 24979045 by ryan schmidt in ue5-main branch]
2023-04-10 12:36:37 -04:00
RootKiller
931b556488 Fixed short meta class in PresetSettingsProperties making AttemptToFindShortTypeNamesInMetaData automated test to fail
LogClass: Property ArrayProperty UPresetSettingsProperties::ActivePresetCollectionsPaths defines MetaData key "MetaClass" which contains short type name "InteractiveToolsPresetCollectionAsset". Suggested pathname: "/Script/PresetAsset.InteractiveToolsPresetCollectionAsset". Module:ModelingToolsEditorMode File:Public/ModelingToolsEditorModeToolkit.h

#rb dave.jones2, nathan.mitchell, ryan.schmidt
#preflight 642d7bb98f078cc703ee565b
#p4v-cherrypick 24926984

[CL 24928186 by RootKiller in ue5-main branch]
2023-04-05 10:47:47 -04:00
ryan schmidt
2db6ffaf4d ModelingMode: harden the hardening of ModelingMode cleanup on editor shutdown
#rb none
#preflight 6424b936710ec8400f8d3ffd

[CL 24851238 by ryan schmidt in ue5-main branch]
2023-03-30 02:28:20 -04:00
ryan schmidt
9e06e5a009 ModelingMode: harden handling of editor close, explicitly clear selection and shutdown tools to avoid issues with late mode Exit
#rb lonnie.li
#preflight 642445e0974dfaa53c51ae7e

[CL 24839151 by ryan schmidt in ue5-main branch]
2023-03-29 13:03:31 -04:00
benoit gadreau
78dae93893 Skeleton Editing Tool
#jira https://jira.it.epicgames.com/browse/UE-171705
#rb kiaran.ritchie
#preflight 64218308974dfaa53c888935

[CL 24802004 by benoit gadreau in ue5-main branch]
2023-03-27 09:46:51 -04:00
aditya ravichandran
f7052d4d64 WidgetRegistration: Add preliminary framework for saving/loading favorites using EditorConfig
#rb lauren.barnes, karen.jirak, semion.piskarev
#preflight 6411eec2af3fc352928935bb

[CL 24659996 by aditya ravichandran in ue5-main branch]
2023-03-15 15:04:26 -04:00
michael balzer
8c95ae3d1a ModelingToolsEditorMode: Substitute settings pointer checks calls with conditionals
#preflight none
#rb trivial

[CL 24540440 by michael balzer in ue5-main branch]
2023-03-07 10:39:33 -05:00
michael balzer
03af56dfcc ModelingToolsEditorMode: Fix static analysis warning for unchecked ModelingModeSettings pointer
#preflight none
#rb trivial

[CL 24539723 by michael balzer in ue5-main branch]
2023-03-07 09:49:48 -05:00
michael balzer
3eadf7a55b MeshModelingToolset: Disable ISM related properties/tools in restrictive mode
#preflight 64067a2ac13b7130d20eb00a
#rb ryan.schmidt, nathan.mitchell

[CL 24535915 by michael balzer in ue5-main branch]
2023-03-07 00:00:51 -05:00
karen jirak
48e81a6c96 Fixes smushed textbox on New Asset Path property in modeling mode tab.
#rb
#preflight

[CL 24489337 by karen jirak in ue5-main branch]
2023-03-02 15:42:26 -05:00
jimmy andrews
8c1fc919a2 Add PolyGroupID option to the Bake Textures and Bake Vertex Colors tools
#rb lonnie.li
#preflight 63fe754eef1b24bf9431ef91

[CL 24454581 by jimmy andrews in ue5-main branch]
2023-02-28 18:39:53 -05:00
michael balzer
3d6d56c7a2 MeshModelingtoolset: Sanitize new asset name to alphanumeric in restrictive mode
#preflight 63f6a6bbac06ce789f660ea2
#rb

[CL 24387989 by michael balzer in ue5-main branch]
2023-02-23 15:27:54 -05:00
michael balzer
284a852a36 MeshModelingToolset: Disable Presets category in AutoLOD tool detail panel
#preflight 63eec8e8500c05a62483e9cd
#rb tyson.brochu

[CL 24275437 by michael balzer in ue5-main branch]
2023-02-16 21:10:50 -05:00
karen jirak
a6a08b80ab Toolkit and toolbar styling
#jira UE-171293
#rb Patrick.Boutot
#preflight 63ee274ab91ae11c1c2798bf

[CL 24270337 by karen jirak in ue5-main branch]
2023-02-16 17:39:16 -05:00
michael balzer
36373c9df3 MeshModelingToolset: Disable BakeRC tool in restrictive mode
#preflight 63ea929a8e7e896ad2904416
#rb lonnie.li

[CL 24199784 by michael balzer in ue5-main branch]
2023-02-13 21:00:55 -05:00
semion piskarev
724f5ff269 MeshModelingTools: Move various settings from the secondary toolbar to the cog icon in quick settings, since the secondary toolbar is not enabled by default in restrictive mode.
#rb Ryan.Schmidt
#jira UE-176815
#preflight 63e6caa28d01e49c53e29828

[CL 24175919 by semion piskarev in ue5-main branch]
2023-02-13 11:00:57 -05:00
ryan schmidt
3cfec5dc9f ModelingMode: disable mesh selection system by default.
#rb none
#preflight 63e3226a7467a6960f65b992

[CL 24072207 by ryan schmidt in ue5-main branch]
2023-02-08 09:40:06 -05:00
ryan schmidt
af5699f133 ModelingTools: improve handling of invalid input selections to PolyEd Tool
Add UGeometrySelectionManager::GetActiveSelectionInfo, returns info about current selection w/o having to copy selection
Override UEditMeshPolygonsActionModeToolBuilder::CanBuildTool, use this new function to do specific per-action filtering to limit to supported input selection types
UEditMeshPolygonsSelectionModeToolBuilder::InitializeNewTool() now filters UI panels for current input selection if available, update Selection-palette PolyEd button to use this builder instead
#jira UE-176168
#preflight 63e2c886c2257e56f413b805
#rb david.hill

[CL 24068438 by ryan schmidt in ue5-main branch]
2023-02-08 01:21:37 -05:00
ryan schmidt
12d9d352cf ModelingMode: fix localization text conflict
#rb none
#preflight 63e2c3f58374ef68dfdd52d8
#jira UE-176323

[CL 24067119 by ryan schmidt in ue5-main branch]
2023-02-08 00:28:00 -05:00
ryan schmidt
f30958b11e ModelingMode: fix up breakage around accessing UV Editor due to stream drift
#rb none
#jira none
#preflight skip

[CL 24040939 by ryan schmidt in ue5-main branch]
2023-02-06 18:23:04 -05:00
ryan schmidt
d54137359e ModelingMode: clean up new Modeling UI sections
Added UModelingToolsModeCustomizationSettings::bUseLegacyModelingPalette, when enabled, new UI/palette is used. Enabled by default. Toggling this option can be done in-editor but requires a restart to see short vs long tool names
When setting above is enabled, new "long" tool names are configured in FModelingToolsManagerCommands::RegisterCommands(). This is only done once per session so cannot be toggled interactively.
Updated FModelingToolsEditorModeToolkit::RegisterPalettes(). Now includes Selection Tools tab/palette, as well as Volumes (was missing before). Added various missing Tools.
Tweaked logic for showing/hiding tools, and enable/disable state, based on whether uising old or new UI.
Modeling Toolbar no longer shows icons that can pop up Settings dialogs in Restrictive mode.

#rb none
#preflight 63e10f87cc75b13767c5cd0a

[CL 24040427 by ryan schmidt in ue5-main branch]
2023-02-06 18:06:43 -05:00
semion piskarev
8a88b4da0e MeshModelingTools: Fix slate throttling issue in non-debug builds that prevents gizmo numerical UI from working properly outside of a tool. Also fix behavior for typing values into the UI for the selection gizmo.
#rb Jimmy.Andrews, Ryan.Schmidt
#preflight 63dd92f878716a01e8268878

[CL 24032551 by semion piskarev in ue5-main branch]
2023-02-06 12:13:57 -05:00