Commit Graph

206 Commits

Author SHA1 Message Date
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Matt Hoffman
4b80ff35c9 Matinee/Editor: Renamed usages of the word 'Matinee' to 'Cinematics' where applicable in code comments.
#jira UE-105313
#rb Trivial

[CL 16691805 by Matt Hoffman in ue5-main branch]
2021-06-16 13:43:34 -04:00
Patrick Boutot
fbf6261906 Slate: Add FSlotArguments as a way to create FSlot in the declarative way, similar to SWidget. It will be used to support TSlateAttribute on FSlot. TAttribute will be in the FSlotArguments and the FSlate will have a TSlateAttribute, similar to SWidget. The previous slot will be deprecated once everything is converted. Convert SOverlay to FSlotArguments.
#jira UE-114425
#rb vincent.gauthier
#preflight 60acf3a86905a60001c2170e

[CL 16447861 by Patrick Boutot in ue5-main branch]
2021-05-25 10:13:56 -04:00
Lauren Barnes
aee8534812 Updates to the in-viewport menu styling, and turning the UI on by default. Adds SWindow::MakeStyledCursorDecorator for custom styling.
#rb Matt.Kuhlenschmidt
#preflight 60abbd6b8194e70001ec9294
#jira UETOOL-3450

[CL 16436496 by Lauren Barnes in ue5-main branch]
2021-05-24 12:18:51 -04:00
BorMor
2a2b00c159 PR #7885: Use ShouldShowMouseCursor() instead of direct variable access (Contributed by BorMor)
#rb trivial
#jira UE-115170

[CL 16278453 by BorMor in ue5-main branch]
2021-05-11 15:33:49 -04:00
JeanFrancois Dube
10b0964599 Data Layers changes
- Keep a reference to the data layers actor in the level to ensure initial loading.
- Always create a data layers actor when creating a new partitioned world.

#rb richard.malo

[CL 16183601 by JeanFrancois Dube in ue5-main branch]
2021-05-03 09:39:35 -04:00
JeanFrancois Dube
9c1619a06e Backout 16168385
#rb none

[CL 16171759 by JeanFrancois Dube in ue5-main branch]
2021-04-30 15:09:08 -04:00
JeanFrancois Dube
9a9cdd80ca Data Layers changes
- Keep a reference to the data layers actor in the level to ensure initial loading.
- Always create a data layers actor when creating a new partitioned world.

#rb richard.malo
#preflight 608c0838a0d23c000116164c

[CL 16168385 by JeanFrancois Dube in ue5-main branch]
2021-04-30 10:54:42 -04:00
Lauren Barnes
04cc19f21b Adding back selected actor's level info in the viewport
#jira UE-108971
#rb trivial
#preflight 608b07c1c0f1f2000102a27d

[CL 16161229 by Lauren Barnes in ue5-main branch]
2021-04-29 16:06:36 -04:00
Lauren Barnes
6d7a227e3a Adding DPI Scaling and fallback positioning for the in-viewport menu
#jira UE-11049
#rb Brooke.Hubert
#preflight 60789bfa2582470001c28b63

[CL 16026215 by Lauren Barnes in ue5-main branch]
2021-04-15 16:48:22 -04:00
graham wihlidal
1c9686063e Implement rendering support for Nanite editor view modes - overview isn't implemented yet, and material/scene min/max/delta Z needs to be reimplemented in a generic way.
#rb brian.karis
#fyi rune.stubbe, michal.valient

[CL 15786770 by graham wihlidal in ue5-main branch]
2021-03-23 18:34:37 -04:00
graham wihlidal
700a73bf55 Editor/UX work for proper Nanite editor view modes with console override; rendering code will come later. (currently disabled with NANITE_VIEW_MODES tag)
#rb matt.kuhlenschmidt
#fyi brian.karis, michal.valient

[CL 15755745 by graham wihlidal in ue5-main branch]
2021-03-21 04:07:16 -04:00
danny couture
adb002987c Avoid having the cursor decoration follow you everywhere on the desktop for the entire duration of a drop operation that might require a long async compilation
#rb Ryan.Schmidt
#robomerge Release-5.0-EarlyAccess

[CL 15537383 by danny couture in ue5-main branch]
2021-02-25 22:00:31 -04:00
Max Chen
eaa52d8bf2 Editor: Added utility functions for viewports
GetViewports, GetActiveViewport, SetAllowsCinematicControl, GetAllowsCinematicControl.

PilotLevelActor, EjectPilotLevelActor, EditorSetGameView, EditorGetGameView now take an optional config key to indicate which viewport should be set/get. Default is none, which acts on the active viewport (no change in existing behavior)

#jira UE-108941
#rb brooke.hubert

[CL 15522119 by Max Chen in ue5-main branch]
2021-02-24 17:53:02 -04:00
jeanfrancois dube
34d2561852 Don't show the change level viewport widget for partitioned worlds.
#rb patrick.enfedaque

#ROBOMERGE-SOURCE: CL 15488723 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15488747 by jeanfrancois dube in ue5-main branch]
2021-02-22 09:19:22 -04:00
Marc Audy
bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -04:00
Jamie Dale
3f3e0e7a67 Updated actor property editing to be typed element based
SActorDetails now operates on a given UTypedElementSelectionSet (removing its dependence on the global selection), and also operates based on the list of selected top-level elements rather than the selected actors.

UTypedElementDetailsInterface provides the interface needed for an element to be used with the details panel, with ITypedElementDetailsObject being the underlying glue object.
The ITypedElementDetailsObject instance will exist as long as the details panel is using it, so gives a lifetime to potentially synthesized UObject instances that are created purely for editing (eg, on instances).

This change removes almost all direct use of UpdateFloatingPropertyWindowsFromActorList, with only a single use-case in the reference viewer remaining.
Most code was already using UpdateFloatingPropertyWindows anyway, which now emits an extra OnElementSelectionChanged event in addition to its previous OnActorSelectionChanged event.
UpdateFloatingPropertyWindowsFromActorList now only emits an OnOverridePropertyEditorSelection event and no longer emits an OnActorSelectionChanged event.
SActorDetails is updated from both OnElementSelectionChanged and OnOverridePropertyEditorSelection, with the OnActorSelectionChanged event remaining for backwards compatability with existing code.

#jira
#rb Chris.Gagnon, Brooke.Hubert

[CL 15037524 by Jamie Dale in ue5-main branch]
2021-01-11 11:14:52 -04:00
Lauren Barnes
94aa16c5ac Adding command handling for FToolUIActions. There is now an in-viewport property menu that can be enabled by Editor.EnableInViewportMenu in the console, and then pressing Tab when a supported actor (currently any light actor) is selected.
#rb Rex.Hill
#jira UETOOL-2698

[CL 15036864 by Lauren Barnes in ue5-main branch]
2021-01-11 09:19:43 -04:00
Phillip Kavan
073b8b2164 Rolling back CL 14886456 for M4 as it introduced new regressions with sprite visibility.
I'm going to narrow the scope of the fix for UE-54964 instead in an additional CL to follow.

#rnx
#rb Chris.Gagnon
#jira UE-54964, UE-104342

[CL 14942194 by Phillip Kavan in ue5-main branch]
2020-12-16 17:08:51 -04:00
Phillip Kavan
4173dacee7 Ensure that dynamic viewport commands are registered/updated prior to constructing a new level viewport client.
Fixes the potential for encountering a regression crash in the editor that was introduced with CL 14886456.

#rnx
#rb None
#jira UE-54964
#fyi Tyson.Brochu, Semion.Piskarev, Jonathan.Bard

[CL 14890965 by Phillip Kavan in ue5-main branch]
2020-12-09 15:38:19 -04:00
Phillip Kavan
03a1ed3d52 Revised sprite category visibility to be localized to the scene/level view logic where it is being used.
These changes allow a Blueprint class that is based on an abstract native parent class to dynamically add new sprite categories inherited from the native parent when a level is loaded with one or more instances of the Blueprint class. Previously, this could crash the editor due to a global mapping table that was not being updated to include new sprite category visibility commands created in that case.

#jira UE-54964
#rb Chris.Gagnon

[CL 14886456 by Phillip Kavan in ue5-main branch]
2020-12-09 02:22:32 -04:00
Richard Malo
9543ea378e DataLayers: Exposed most of DataLayerEditorSubsystem functionality to Blueprint and cleaned/removed redundant functions from API.
#rb patrick.enfedaque

[CL 14844719 by Richard Malo in ue5-main branch]
2020-12-03 12:41:42 -04:00
Jamie Dale
ca08dfb897 Removed GLevelEditorModeTools use from typed element interface implementations
#rb Brooke.Hubert
#rnx

[CL 14828542 by Jamie Dale in ue5-main branch]
2020-12-01 12:05:35 -04:00
Matt Kuhlenschmidt
34fcd78a3e Fix style of current level picker in the viewport bottom right corner
#jira UETOOL-2711

[CL 14820653 by Matt Kuhlenschmidt in ue5-main branch]
2020-11-30 11:22:20 -04:00
Richard Malo
a961c2338b Added DataLayer browser & editing.
#rb jeanfrancois.dube, patrick.enfedaque

[CL 14597717 by Richard Malo in ue5-main branch]
2020-10-28 06:51:40 -04:00