Commit Graph

993 Commits

Author SHA1 Message Date
jack cai
ad9d7f4a71 Deformer graph: added an icon to shader text editor
#jira UE-164821
#rb tbd
#preflight https://horde.devtools.epicgames.com/job/633e6808d910a0768385e85c

[CL 22388844 by jack cai in ue5-main branch]
2022-10-06 20:10:29 -04:00
patrick laflamme
068b6058ab Implemented the 'Unsaved' Editor status bar button that displays the number of unsaved assets (dirty packages) the user and potential warnings with respect to the source control those asset may have.
- Implemented the UnsavedAssetTrackers plugin and enabled it by default.
  - Added the 'Unsaved' button to the Editor taskbars to display the number of unsaved packages along with a warning icon if warning are associated with one of the unsaved files.
  - Updated the 'Save Content' package to display warnings if one of the packages has warnings.
  - Added a class to monitor and periodically update the source controlled status of a collection of files/packages.
  - Changed the default value of PromptForCheckoutOnAssetModification settings to False because the Unsaved button flow is complementary (and the popup was noisy for OFPA users).
  - Updated the changelist window to use the soure control file status monitor.

#jira UE-163734 - Implement the 'Unsaved' Editor Taskbar Button
#rb Patrick.Enfedaque
#preflight 633ae915b12b8af5fde80f7c

[CL 22322224 by patrick laflamme in ue5-main branch]
2022-10-03 20:38:09 -04:00
yohann dossantos
59b5769eca -Text font size changes in Text Box (Multy-Line) widget applies only after moving the text widget
It was the initial bug, but while looking at it, I noticed that the MultilineEditableTextBox was containing both a Font via FEditableTextBoxStyle, and another one via FTextBlockStyle, thus being error prone / inconsistent.
In order to fix the underlying issue (in addition to fix the initial bug), I removed the Font from FEditableTextBoxStyle, and moved the FTextBlockStyle from MultilineEditableTextBox to FEditableTextBoxStyle.
It solves the duplication issue and so make it clear where the Font should be set/read from.
However, as the text block style is now embedded in the editable text box style, it cannot be initialized the exact same way, and I had to do some changes to ensure there was no regression, by configuring various FEditableTextBoxStyle in some style files. I also change the default value for TextBlockStyle to better match our default theme.

-Default font is not set for text widgets.
EditableWidget: ensure to have a default font, and to set the style when calling SynchronizeProperties to ensure it reacts directly without having to force a refresh (by moving the widget for instance)

Bonus:
-Move to cpp some private methods that where 'forced' inline (and we were using function pointer on them). It will avoid some noise in public interface and speed up iteration / compile time when playing with them.

#jira UE-96464
#jira UE-137126

[RN] MultilineEditableTextBox was containing both a Font via FEditableTextBoxStyle, and another one via FTextBlockStyle, thus being error prone / inconsistent.The Font from FEditableTextBoxStyle has been removed, and the FTextBlockStyle moved from MultilineEditableTextBox to FEditableTextBoxStyle. It solves the duplication issue and so make it clear where the Font should be set/read from.
However, as the FTextBlockStyle is now embedded in the FEditableTextBoxStyle, it cannot be initialized the exact same way, and you can now configure the FTextBlockStyle of FEditableTextBoxStyle when creating one from scratch, by calling SetTextStyle on it.


Test
- created a Widget blueprint with different editable types combination: multiline or single line, box or no box.
    -Validated that everything was reacting live as expected now.
    -Created a blue print to set the text style and validated it was working.
    -Create data with old version, then open it with updated version to validate that the visual was still the same and deprecation of style working as expected.
-checked different places in the editor using variation of editable text to ensure they were behaving as before (detail view, console command entry, comment on blueprint node).
#preflight 63344b9f110bb3721ef8aa77

[CL 22232366 by yohann dossantos in ue5-main branch]
2022-09-28 17:59:29 -04:00
Robb Surridge
77fafd441d Update message dialogs to use a clipboard button instead of a "Copy Message" text hyperlink.
#jira UE-164715
#preflight 632dee71a4769ad7140a1ba5
#rb lauren.barnes

[CL 22222705 by Robb Surridge in ue5-main branch]
2022-09-28 10:58:39 -04:00
marco anastasi
dd01cd42b5 Create shortcut buttons in Status Bar for Skein operations
#rb wouter.burgers, patrick.laflamme
#preflight 63301d3d665f6b8f7fab0066


RESOLUTION: Resolved conflict with IsAtLatestRevision() and GetNumLocalChanges()

[CL 22193646 by marco anastasi in ue5-main branch]
2022-09-26 16:32:49 -04:00
Robb Surridge
33f9222a7d Content Browser folder icon fixes.
- C++ folders in the folder tree now use SVGs like the other icons
- Large version of the C++ icon has been added and is now used in the asset view, same as we do for developer folders
- Small version of the open developer folder icon added and now used when developer folders are open
#jira UE-162524
#preflight 630f6dc2556fc14dce9571d5
#rb lauren.barnes

[CL 22115897 by Robb Surridge in ue5-main branch]
2022-09-21 12:55:38 -04:00
lucas dower
dcae20796b Update pose watch icon
* Deprecated UPoseWatch::IconName as only pose watch (node watch) components can have icons

#jira UE-158314
#rb jurre.debaare
#preflight 632af1a7331ace46b568cf0d

[CL 22113600 by lucas dower in ue5-main branch]
2022-09-21 11:23:06 -04:00
zach brockway
a1a067adef VR Editor: Enumerate UVREditorMode-derived classes for selection in toolbar split button dropdown, and update toolbar icon. The dropdown menu also indicates whether an HMD is available, and if so its runtime version string.
Historically not having an HMD available has meant this toolbar button would be hidden entirely, and this is still the case if no derived/alternative UVREditorMode classes are available. However, if any additional mode classes are present (for example because the user has enabled the Virtual Scouting plugin), the toolbar button will always be shown, in the hopes that surfacing the HMD status will simplify the onboarding experience for new Virtual Scouting users.

If the configured mode class becomes unavailable (for example because the corresponding plugin was subsequently disabled), then its object path will be shown as selected and disabled in the dropdown, and the primary toggle button will also be disabled until a valid mode is selected.

#jira UE-131286, UE-164026
#rb jason.walter, Lauren.Barnes
#preflight 6324f528f258fccf98e5e3ec

[CL 22087033 by zach brockway in ue5-main branch]
2022-09-19 21:57:24 -04:00
aditya ravichandran
81f7e13375 SBasicFilterBar: Move styles references in Editor only configs to StarshipCoreStyle
#jira UE-162977
#rb Lauren.Barnes
#preflight 63221d1fa514fd1e37378e13

[CL 22030221 by aditya ravichandran in ue5-main branch]
2022-09-15 11:45:59 -04:00
Sebastien Hillaire
6ee5289a8c Added cloud show flag.
#rb none
#preflight https://horde.devtools.epicgames.com/job/632068e08c478acecf528490

[CL 21980898 by Sebastien Hillaire in ue5-main branch]
2022-09-13 07:48:38 -04:00
patrick laflamme
aeddf4fe0c Implemented text search/filtering in the changelist window.
Changed the color of the uncontrolled changelist from gray to orange
Added an icon in the to the file status column header.

#jira UE-155216 - Make the selected changelist view (list of files in a CL) searchable.
#jira UE-155213 - Make the list of changelists searchable.
#rb Patrick.Enfedaque
#preflight 631b8c332b7fe03eb601ec03

[CL 21973932 by patrick laflamme in ue5-main branch]
2022-09-12 18:11:36 -04:00
max chen
c4a990e426 Sequencer: More icon updates
#jira UE-147995
#preflight 631b8241f448dc6e58f52fa1
#rb matt.hoffman

[CL 21927406 by max chen in ue5-main branch]
2022-09-09 16:27:11 -04:00
max chen
028e61c70a Sequencer: Icon updates for Sequencer and Cinematic Prestreaming
#jira UE-147995
#preflight 631b8241f448dc6e58f52fa1
#rb matt.hoffman

[CL 21927092 by max chen in ue5-main branch]
2022-09-09 16:16:07 -04:00
jared therriault
1facae65ad Property Editor:
-Add customization for FLightingChannels

#rb Lauren.Barnes

#jira UE-162861

#preflight https://horde.devtools.epicgames.com/log/630fd2fae352708d444bb4b1

#ushell-cherrypick of 21631171 by Jared.Therriault

[CL 21892691 by jared therriault in ue5-main branch]
2022-09-08 09:16:44 -04:00
karen jirak
1363ea98c1 Updating pilot the actor editor viewport toolbar section to UE5 styles.
#jira UE-160893
#rb sebastian.nordgren
#preflight 631202befb6213403c508de6
#p4v-preflight-copy 21734448

[CL 21765968 by karen jirak in ue5-main branch]
2022-09-02 15:45:10 -04:00
bryan sefcik
0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03:03 -04:00
WouterWeynants
2d3d0bb12d PR #8664: Update StarshipStyle spelling in comment (Contributed by WouterWeynants)
#rb trivial
#preflight n/a
#jira UE-135983

[CL 21700266 by WouterWeynants in ue5-main branch]
2022-08-30 10:26:49 -04:00
SRombauts
cb5b5f4e83 Added changelists support to PlasticSCM plugin (v1.6.2)
PR #9414: [Source Control] Add Changelists support to PlasticSCM plugin (v1.6.2) (Contributed by SRombauts)
#jira UE-160265 - GitHub 9414 : [Source Control] Add Changelists support to PlasticSCM plugin (v1.6.1)
#rb Patrick.Laflamme
#preflight 630cc6e4660db81edb6ecb8a

[CL 21677217 by SRombauts in ue5-main branch]
2022-08-29 10:22:45 -04:00
Andrew Rodham
a2832bd295 Sequencer: Added missing updated graphics
#rb None
#jira UE-162195
#preflight none

[CL 21676404 by Andrew Rodham in ue5-main branch]
2022-08-29 09:26:23 -04:00
bryan sefcik
8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00
Andrew Rodham
00eddaf65f 21514370 Sequencer: UX Refresh for 5.1 - Nested tracklanes, key bars, snapping polish
- Nested track lanes are now supported, allowing sequencer channels to be added as fully fledged child widgets of a parent, while still being arranged automatically and have their lifetime managed by their respective outliner item (therefore, they are now fully virtualized as you might expect)

  - Key bars have been added. This is exposed through a new ConnectionStyle member of FKeyDrawParams. Their rendering is also cached and batched within FKeyRenderer

  - Most relevant parts have been moved to SequencerCore now. Channel and category views remain in the Sequencer library due to their reliance on internal classes there, but they should be trivially moved to SequencerCore as a future task.

  - Track area now has a shared FTimeToPixel that can be shared amonst any widgets that need to convert times to track-area-pixel-space.

  - Added methods to ISequencerSection to allow client classes to create custom channel and category model types

  - Layer bar improvements:
    - Layer bars now encompass finite section ranges.
    - Resize handles are now only visible on hover as per design guidelines.

  - Inline curve display improvements:
    - Rendering is now part of each channel's view
    - Added API for determining curve extents
    - Curves are now rendered using FCurveModels

  - Snapping fixes and improvements
    - There were several places where snapping seemed not to work at all, or would snap inconsistently with dense keyframe data.
    - I've added a Weighting to the snap points so we can specify preferred snap points (section bounds, time cursor etc), and accumulate weights for specific frames where many keys exist. This helps to snap to times that are actually relevant, rather than always snapping to the nearest snap point, even if that snap point only has a single key on that time, and there are others within the snap threshold that have hundreds.
    - Converted the snapping utilities to operate on FFrameTimes rather than FFrameNumbers in order to support custom sequencer UIs that might not operate on integer time bases (it remains fully frame accurate with integers however)

  - Allow 'Key this section' to be unchecked


#rb Max.Chen, Ludovic.Chabant, Matt.Hoffman
#preflight 63055b5903520e063cd53cfb

[CL 21526535 by Andrew Rodham in ue5-main branch]
2022-08-23 19:51:55 -04:00
lina lam
4b968ac633 Added import/export buttons to Active Theme:
- Clicking "Import..." opens "document" from the OS window. Importing a theme will update the current active theme. After import, this theme should be found where user imported it from (i.e., document) AND the themes folder within the engine. Cannot import a theme with names that already exist. Also cannot import an invalid .json file.

- Clicking "Export..." opens "document" from the OS window. After export, this theme should be found where user exported it to (i.e., document) AND remain in the themes folder within the engine.

- Both import and export will prompt success/failure message within the engine.


UI Changes:
- "Color" header for Active Theme is now called "Theme"
-  Uploaded new icons for import / export (both 16x16 and 20x20 versions)
-  ThemeID now also gets exported when exporting Appearance setting.
- "Viewport Selection Color" and "Editor Window Background Color" are now under "User Interface"


#jira UE-160592: Import/Export Workflow for Themes
#rb editor-ux
#preflight 6304d98fc85b7fef228068f7

[CL 21507950 by lina lam in ue5-main branch]
2022-08-23 10:15:02 -04:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
nick brett
be3323e0db [UE][FEATURE] PhAT Constraint Transform Editing
- Enable users to view and edit the parent and child frame transforms of constraints in the PhAT details panel
- Constraint transforms are represented as a position and a rotator in the details panel (internally they are represented as a position and a pair of orthonormal vectors)
- Constraint transforms can optionally be displayed in the frame of the assocaited bone OR relative to the default (snapped) transforms
- Allow parent / child transform position / orientation componenets to be 'snapped' to defaults individually
- Support using modifier keys to manipulate only the child frame transform via a viewport widget

#jira UE-119744
#jira UE-119741
#rb [at]Thomas.Sarkanen, [at]sebastian.nordgren
#preflight 62f13b9a23003b62a3d4c277

#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 21282618 via CL 21282632 via CL 21282638
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21283069 by nick brett in ue5-main branch]
2022-08-09 07:30:26 -04:00
bryan sefcik
98b51354ed Ran IWYU on Public headers under Engine/Source/Editor/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065253 by bryan.sefcik
#jira
#preflight 62d5b3e91062f2e63014598e

#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21152630 via CL 21156388 via CL 21157044
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21181817 by bryan sefcik in ue5-main branch]
2022-07-20 11:56:29 -04:00