Commit Graph

1143 Commits

Author SHA1 Message Date
jeremy moore
806d95e288 Add mesh paint mode option to fix texture colors.
This detects if any selected mesh paint textures are not at the currently requested size and resizes them.
It's similar in spirit to the vertex painting "fix" operation which detects if the mesh has changed and tries to reapply painting.

[CL 35739342 by jeremy moore in ue5-main branch]
2024-08-22 10:13:51 -04:00
sebastian arleryd
9f1a6c277c Highlight the realtime toggle button of the new viewport toolbar in yellow when the viewport is not realtime
#jira UE-212287
#rb aditya.ravichandran

[CL 35700774 by sebastian arleryd in ue5-main branch]
2024-08-21 10:15:20 -04:00
sebastian arleryd
941e605c7f Tighten layout of the new viewport toolbar
* Add FToolBarStyle::SeparatorThickness to specify the thickness of separators in toolbars.
* Reduce button paddings in the new viewport toolbar.
* Adjust combo button paddings to add extra space on the left side of the main sub menu combo buttons in the new viewport toolbar.
* Set up separator styling to be thin using FToolBarStyle::SeparatorThickness and using the FStyleColors::Dropdown color.
* Update the Concert and Avalanche modules to use the new FToolBarStyle::SeparatorThickness default value of 2.0f instead of their hardcoded 2.0f values.

#jira UE-212287
#rb Dario.Mazzanti

[CL 35693985 by sebastian arleryd in ue5-main branch]
2024-08-21 06:45:22 -04:00
andrea botti
2ebe050d72 [ContentBrowser] Thumbnail Playback Indicator
#jira UE-216440
#rb aditya.ravichandran, ben.hoffman

[CL 35693075 by andrea botti in ue5-main branch]
2024-08-21 06:09:31 -04:00
sebastian arleryd
489470ae9c Raise separators if a previous and a following entry is also raised
#jira UE-212287
#rb Dario.Mazzanti

[CL 35649206 by sebastian arleryd in ue5-main branch]
2024-08-20 03:16:51 -04:00
sebastian arleryd
9f26bf5ec1 Update the "ViewportToolbar" style to highlight the icons of checked toggle buttons in AccentBlue instead of altering their background color
#jira UE-212287
#rb Dario.Mazzanti

[CL 35632382 by sebastian arleryd in ue5-main branch]
2024-08-19 13:53:36 -04:00
sebastian arleryd
6a7d10f74b Fix static analysis warning
#jira UE-212287

[CL 35620964 by sebastian arleryd in ue5-main branch]
2024-08-19 04:21:21 -04:00
eric knapik
326df70ce8 Undo CL: 35599474
Static initialization on startup

[FYI] andrea.botti

[CL 35610973 by eric knapik in ue5-main branch]
2024-08-16 18:59:53 -04:00
andrea botti
b9f350d86e [ContentBrowser] Thumbnail Playback Indicator
#rb aditya.ravichandran, ben.hoffman, Brian.Chrisman
#jira UE-216440

[CL 35599483 by andrea botti in ue5-main branch]
2024-08-16 13:24:27 -04:00
sebastian arleryd
9ecd778f36 Create a Slate style for the new viewport toolbar
* Create a style named "ViewportToolbar" for toolbar entries that currently sets a brighter background color to help visually group the toolbar.
* Create a separate style named "ViewportToolbar.Raised" for any entries raised to the top-level toolbar. Such entries do not get the brighter background because they're a part of the submenu they were raised from and that submenus brighter background will provide the visual grouping hint.
* Apply the new "ViewportToolbar" style to the UToolMenu representing the new level editor viewport toolbar.
* Add the ".Raised" suffix to any set style when an entry is raised to the top-level of a toolbar. Any entry raised within the viewport toolbar (using style "ViewportToolbar") will therefore hit the "ViewportToolbar.Raised" style.

#jira UE-212287
#rb aditya.ravichandran, Dario.Mazzanti

[CL 35596044 by sebastian arleryd in ue5-main branch]
2024-08-16 11:34:46 -04:00
robb surridge
d9dde1c838 Updates to tooltips and to the enhanced tooltip system.
- Shortcuts on toolbar item tooltips now use a dedicated display style instead of being embedded in the text string.
- Enhanced tooltips now have an animated transition between states.
- Updated visual styles for enhanced tooltips.
- Images in enhanced tooltips now print their alt text as captions in italics below the images.
#rb scott.nelson

[CL 35541983 by robb surridge in ue5-main branch]
2024-08-14 14:34:22 -04:00
edwin maynard
b2a4f06507 [Backout] - CL35531921 backed out due to errors
[FYI] Robb.Surridge
Original CL Desc
-----------------------------------------------------------------
Updates to tooltips and to the enhanced tooltip system.
- Shortcuts on toolbar item tooltips now use a dedicated display style instead of being embedded in the text string.
- Enhanced tooltips now have an animated transition between states.
- Updated visual styles for enhanced tooltips.
- Images in enhanced tooltips now print their alt text as captions in italics below the images.
#rb scott.nelson

[CL 35534319 by edwin maynard in ue5-main branch]
2024-08-14 10:54:44 -04:00
robb surridge
63855ab8b9 Updates to tooltips and to the enhanced tooltip system.
- Shortcuts on toolbar item tooltips now use a dedicated display style instead of being embedded in the text string.
- Enhanced tooltips now have an animated transition between states.
- Updated visual styles for enhanced tooltips.
- Images in enhanced tooltips now print their alt text as captions in italics below the images.
#rb scott.nelson

[CL 35531944 by robb surridge in ue5-main branch]
2024-08-14 09:31:00 -04:00
jeremy moore
dd3cbb45e2 Changed naming for mesh texture paint "Commit" operation.
The operation sets the current painting state to the texture asset.
Apply is a better name than commit here.
[FYI] camille.kay

[CL 35468118 by jeremy moore in ue5-main branch]
2024-08-12 17:11:48 -04:00
sebastian arleryd
bccf686a6e Improve Camera Speed submenu in the new level editor viewport toolbar
* Change icon of the Camera Speed submenu.
* Top-level flag the submenu so it always is visible in the new level editor viewport toolbar.
* Make the label of the Camera Speed submenu dynamic when it appears in a toolbar.

#jira UE-212285
#rb Dario.Mazzanti

[CL 35422345 by sebastian arleryd in ue5-main branch]
2024-08-09 10:48:50 -04:00
jeremy moore
9e89796551 MeshPaintTool: Respect CanMeshPaintTextureColors() to disable selection/adding/painting.
Split the texture selection tool in two for texture color and texture asset painting.
New texture color mode respects the component/mesh disabling texture color painting.

[CL 35420395 by jeremy moore in ue5-main branch]
2024-08-09 09:43:56 -04:00
sebastian arleryd
4b3b426dfe Improve the Performance & Scalability submenu of the new level editor viewport toolbar
* Add Icons.Scalability as a toolbar-specific editor version of the NiagaraEditor.Scalability icon.
* Use Icons.Scalability as the icon for the submenu.
* Remove the label in the toolbar case.

#jira UE-212285
#rb aditya.ravichandran

[CL 35416520 by sebastian arleryd in ue5-main branch]
2024-08-09 02:03:52 -04:00
sebastian arleryd
f8613aa66d Update the Transform submenu of the level editor's new viewport toolbar
* Add icon the the Transforms menu.
* Rename to "Transform" (dropping trailing s).
* Rename FName to "Transform" (new full menu name is "LevelEditor.ViewportToolbar.Transform".)
* Update Animation Mode to extend via the new submenu name.
* Set icon on the command "EditorViewport.RelativeCoordinateSystem_Local" from StarshipStyle.cpp to make it actually work.

#jira UE-212285
#rb Dario.Mazzanti

[CL 35395267 by sebastian arleryd in ue5-main branch]
2024-08-08 10:24:30 -04:00
andrea botti
49fecb4322 [ContentBrowser] Thumbnail Styling
#rb George.Rolfe
#jira UE-216441

[CL 35303521 by andrea botti in ue5-main branch]
2024-08-05 05:49:03 -04:00
jeremy moore
6d272b7d1c Mesh Paint Tool support for texture color painting.
Added new 'Texture Color' tab in mesh paint tool which paints to the mesh component MeshPaintTexture.
This paint tool can paint to multiple selected components (similar to vertex paint tool).
Texture painting needed updating to support this multiselect behavior. In particular seam maps etc needed to be created per texture being edited rather than being global.
Renamed existing 'Color' and 'Weight' tools to 'Vertex Color' and 'Vertex Weight'. Existing 'Texture' tool is referred to as 'TextureAsset' in places where the distinction needs to be made clear in code. Similar renames were needed across the code.
Texture Color tool can add and remove MeshPaintTexture objects from components.
Texture Color tool can copy/paste MeshPaintTexture objects between components.
Texture Color tool can import vertex color painting to the MeshPaintTexture. This is done using the Geometry tools FMeshMapBaker.
Vertex Color tool can import texture color painting to the vertex colors on the component.
Generally tidied the code so that the mesh paint commands use a common pattern for their delegates. Starship icon names needed updating to match this.
Tidied up the MeshPaintingToolProperties so that they use a common hierachy between vertex and texture painting extensions.
Tidied up the MeshPaintingToolProperties UI customizations to take advantage of that sharing and remove duplicated code.

[CL 35090925 by jeremy moore in ue5-main branch]
2024-07-25 14:43:09 -04:00
andrea botti
6fe358e664 [ContentBrowser] Missing keybind for edit asset in the content browser
#rb brooke.hubert
#jira UE-180883

[CL 34979012 by andrea botti in ue5-main branch]
2024-07-22 07:10:24 -04:00
vincent beauchemin
aa92de1ea4 Actor Coloration
* Add new view mode index in order to have the Actor Coloration mode behave like the other view modes (mutually exclusive).
 * Add tooltips for most of the registered actor color handlers.
 * Use FText in PropertyColorSettings and NSLOCTEXT in .ini

#rb JeanFrancois.Dube
#jira UE-219352
[FYI] JeanSebastien.Guay

[CL 34820702 by vincent beauchemin in ue5-main branch]
2024-07-15 14:40:35 -04:00
catalin dragoiu
1523ba2296 Make Trace Control the foreground tab in Session Frontend
Add tab icon for Trace Control.
Add a style sheet in SessionFrontend so it's incons are also visible when running from Insights.

#rb ionut.matasaru
#jira UE-215072

[CL 34733973 by catalin dragoiu in ue5-main branch]
2024-06-28 05:13:32 -04:00
guillaume arruda
f22a4ad27e Create BlackboardKeyType_Struct and associated ValueOrBBKey_Struct
#rb Yoan.StAmant

[CL 34530427 by guillaume arruda in ue5-main branch]
2024-06-20 11:15:54 -04:00
charles derousiers
851861ff62 Move hair show flag among the main items for consistency.
[CL 34343239 by charles derousiers in ue5-main branch]
2024-06-13 12:09:57 -04:00