Commit Graph

70851 Commits

Author SHA1 Message Date
Lauren Barnes
cebc8d8a52 First pass on refactoring mesh paint to a plugin that uses the interactive tools framework
#jira UETOOL-1722
#rb Ryan.Schmidt

[CL 10287345 by Lauren Barnes in Dev-Editor branch]
2019-11-18 12:23:32 -05:00
Matt Kuhlenschmidt
e056ec1843 Editor mode changes:
Made placement browser its own tab and not the default mode.
The default mode is now "Select" which does nothing
Modes are now actived from a toolbar drop down (old keybindings still work) and the old tabbed UI for changing modes has been deprecated.
Mode tab no longer appears when there is no active mode and will appear when a mode becomes active

This change resets the default layout of the editor

#rb none

[CL 10286341 by Matt Kuhlenschmidt in Dev-Editor branch]
2019-11-18 10:48:03 -05:00
Gines Hidalgo
1e51a92825 #jira UE-81469
Multiple improvements to the "View Mode" menu of the Viewport, including a feature request from JIRA UE-81469. Most of these improvements are related to the submenu of "View Mode" called "Buffer Visualization":

Issue 1/6 (the JIRA itself): The "View Mode" UI displays as its title the name on the selected category or subcategory chosen by the user (or otherwise the default one). However, this behavior was not consistent across different categories. For the "Buffer Visualization" category, if any of its subcategories were chosen, "View Mode" was only displaying "Buffer Visualization" as title, rather than the particular subcategory chosen. This was not the case for the other 2 categories ("Level of Detail" and "Optimization Viewmode").
Solution 1: The displayed name of "View Mode" is now forced to be the exact chosen (sub)category, regardless of the category ("Buffer Visualization", "Level of Detail", or "Optimization Viewmode").

Issue 2/6: The name displayed as the selected "View Mode" was being assigned in parallel with the displayed name of the buttons representing each (sub)category. This resulted in some categories and subcategories having different names in the buttons than in the "View Mode" label itself. The behavior was also not consistent across the different menus inside "View Mode".
Solution 2: The displayed name of the chosen label is forced to match the displayed name of the button itself.

Issue 3/6: "Optimization Viewmodes" was the only category without an icon.
Solution 3: Icon assigned to one of the icons of its subcategories. In particular, the one from "Quad Overdraw".

Issue 4/6: "Buffer visualization" was the only category without a proper tooltip, it was displaying a FName, rather than a more human-readable FText.
Solution 4: Assigned its tooltip to the FText field of DisplayedName.

Issue 5/6: When the subcategory "Overview" (of "Buffer Visualization") was chosen, the displayed name on each individual subwindow that are generated corresponded with limited FNames (rathern than a more human-readable text).
Solution 5: Assigned their value to the FTexts corresponding to their DisplayedName value.

Issue 6/6: Inside the possible Buffer Visualization Materials, `LightingModel` and `ShadingModel` are being used interchangeably all over the code, leading to missmatches and confusion for the user. E.g., `UMaterialInterface` and `UMaterial` use `LightingModel`, while `FBufferVisualizationData` (thus `FBufferVisualizationMenuCommands` and `FEditorViewportClient`) use `ShadingModel`.
Solution 6: Assigned all of the above classes to the same value.

Issue and solution 7 added in previous CL # 10228324.

#rb chris.gagnon

[CL 10286305 by Gines Hidalgo in Dev-Editor branch]
2019-11-18 10:44:08 -05:00
Jeffrey Soldan
bd6b5a8c18 fix CIS build warnings #rb none
[CL 10271763 by Jeffrey Soldan in Dev-Editor branch]
2019-11-15 18:34:51 -05:00
Jeffrey Soldan
b1562bfe6a Sequencer: Traverse parent hierachy to correctly test if a display node is part of a pinned group
#jira UE-84438
#rb max.chen

[CL 10271486 by Jeffrey Soldan in Dev-Editor branch]
2019-11-15 18:10:18 -05:00
Richard TalbotWatkin
6b6f2dafee Made runtime static mesh generation work better with editor.
#rb none

[CL 10266143 by Richard TalbotWatkin in Dev-Editor branch]
2019-11-15 15:13:20 -05:00
Austin Crismore
6e7295020c CaptureGammut command line argument now parses names of enum entries as well as numbers.
#jira UE-84515
#rb Matt.Hoffman

[CL 10262062 by Austin Crismore in Dev-Editor branch]
2019-11-15 13:27:01 -05:00
Max Chen
a7ba0f6716 Sequencer: Take number digits now defaults to 2 for better readability.
Take Recorder: Take number digits should respect the sequencer project setting.

#jira UE-84460
#rb none

[CL 10259623 by Max Chen in Dev-Editor branch]
2019-11-15 12:29:00 -05:00
Gines Hidalgo
14c3621eec #jira UE-81469
New feature: Added the capability of adding Radio buttons to the submenu main button (not only to its entries).

This CL is the first of 2 CLs that introduce multiple improvements on the "View Mode" menu of the Viewport, including a new feature request from JIRA UE-81469. However, we isolate this particular new feature into an isolated CL given that it can be applicable anywhere in the Editor, not only for "View Mode".

Issue: If any subcategory of "View Mode" was chosen, the user could not know in which category it was located (unless the user manually looked into each category until he found the selected one).
Solution: Added the checked functionality (with a radio button) to each one of the categories, behaving similarly to any subcategory. This way, both the radio button of the category and the one from the specific subcategory will be checked simulatenously.

More technical details:
Adding this functionality to "View Mode" means adding the functionality of "FUIAction::FIsActionChecked" into "AddSubMenu", which includes modifications to "MultiBox", "SMenuEntryBlock", and "MultiBoxBuilder".

1) We are changing a submenu so it has a radioButton
2) To specify a radio button a developer has to use a different API that includes a delegate (FUIAction) to say if it should be checked or not before this CL
3) The different API for AddSubMenu was not passing along the command list for that child submenu to use
4) The updated code now passes the command list along for the child submenu to use

#rb rex.hill

[CL 10228324 by Gines Hidalgo in Dev-Editor branch]
2019-11-14 17:02:10 -05:00
Gines Hidalgo
f1dcb5578a Added comments to help update the default values of the Editor layout (i.e., if changes are applied to "LevelEditor_Layout_v1.1" or "UnrealEd_Layout_v1.4").
#fyi matt.kuhlenschmidt
#rb none

[CL 10227617 by Gines Hidalgo in Dev-Editor branch]
2019-11-14 16:54:43 -05:00
michael daum
d2bcc09821 MeshModelingTools : Flesh out interface for commiting meshes
#rb none

#rnx

[CL 10222650 by michael daum in Dev-Editor branch]
2019-11-14 15:31:53 -05:00
SaltyPandaStudios
7784752502 PR #6363: Include name of widget in the log when trying to focus non-focusable widget (Contributed by SaltyPandaStudios)
#rb vincent.gauthier
#jira UE-84434

[CL 10219849 by Vincent Gauthier in Dev-Editor branch]
2019-11-14 15:05:16 -05:00
Jeffrey Soldan
9a114ab1fb Implement copy/paste support in the curve editor
#jira UESEQ-490
#rb max.chen

[CL 10215563 by Jeffrey Soldan in Dev-Editor branch]
2019-11-14 14:35:50 -05:00
Cody Albert
3885135b3f Fixed issue where the color picker wouldn't update color properties on components after the mouse was release for the first time
#jira UE-84386
#rb Lauren.Barnes. Michal.Valient

[CL 10168016 by Cody Albert in Dev-Editor branch]
2019-11-13 17:33:01 -05:00
Jamie Dale
8ee4543497 CIS fix
#fyi Cody.Albert
#rb none
#rnx

[CL 10163723 by Jamie Dale in Dev-Editor branch]
2019-11-13 16:04:10 -05:00
Matt Hoffman
77822abc5c AddVisualizeGBufferOverviewPass now adds the required graph nodes if any BufferVisualizationPipes are enabled even if not dumping to file or showing screen visualization.
#rb Zachary.Bethel
#rnx

[CL 10163717 by Matt Hoffman in Dev-Editor branch]
2019-11-13 16:04:08 -05:00
Jamie Dale
d1936d9b11 Read meta-data off the correct property when querying IStructureDetailsView
#rb none
#rnx

[CL 10142335 by Jamie Dale in Dev-Editor branch]
2019-11-13 14:03:51 -05:00
Cody Albert
499b223a39 Updated "Prompt When Adding To Level Before Checkout" to use cached source control state instead of running a fresh query each time an actor is added
#rb Lauren.Barnes

[CL 10131774 by Cody Albert in Dev-Editor branch]
2019-11-13 13:23:50 -05:00
john hable
b5c43973bd Adding FrameIndex override to FSceneView.
#rb guillaume.abadie

[CL 10128727 by john hable in Dev-Editor branch]
2019-11-13 12:58:21 -05:00
Vincent Gauthier
318bca01ab UMG Editor: Add named slot content to Replace With context menu in Hierarchy view
#jira none
#rb dave.belanger

#rn UMG Editor: The Replace with context menu in the Hierarchy view now support to replace a widget with the content of one of it's Named Slot.

[CL 10128123 by Vincent Gauthier in Dev-Editor branch]
2019-11-13 12:45:33 -05:00
Gines Hidalgo
13729602be #jira UE-84347
Bug fix: Close Asset Editors warning while loading layout had 2 identical options: No and Cancel. Removed the Cancel option to avoid the duplicated option.

#rb none

[CL 10125714 by Gines Hidalgo in Dev-Editor branch]
2019-11-13 10:55:29 -05:00
Richard TalbotWatkin
580a15b842 Fixed deprecation warnings.
#rb none

[CL 10122240 by Richard TalbotWatkin in Dev-Editor branch]
2019-11-13 07:57:58 -05:00
Gines Hidalgo
7e5c105006 #jira none
Some displayed error messages about paths being too long are more informatives and include full path and current/maximum length allowed.

#rb none

[CL 10119068 by Gines Hidalgo in Dev-Editor branch]
2019-11-12 18:03:37 -05:00
Gines Hidalgo
24fdce4e1a #jira UE-80569
Solved mini-bug when saving a layout with path too long: It was wrongly checking the relative path length rather than the fulll one.

#rb none
#fyi laura.klinefelter

[CL 10119067 by Gines Hidalgo in Dev-Editor branch]
2019-11-12 18:03:31 -05:00
Gines Hidalgo
d59e73c8f3 Copied CL# 10114589
#JIRA UE-84269

Fixing regression warning created by CL # 10110416

#rb none

[CL 10114671 by Gines Hidalgo in Dev-Editor branch]
2019-11-12 14:11:56 -05:00