Commit Graph

191 Commits

Author SHA1 Message Date
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
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
michael daum
7c6d7b3ab2 Drastically reduce the number of targets depending on UnrealWidget.h
#rb lauren.barnes

[CL 14266936 by michael daum in ue5-main branch]
2020-09-07 20:36:09 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
roey borsteinas
1e01ab4a12 Removed SceneOutliner namespace
#rb none
#jira none

[CL 13954396 by roey borsteinas in ue5-main branch]
2020-07-28 09:25:56 -04:00
roey borsteinas
cce829bfd4 SceneOutliner refactor
Scene Outliner refactored to remove all actor-specific code.
Now uses modular modes and hierarchies to allow representation of any data model.

#rb patrick.enfedaque matt.kuhlenschmidt
#jira none
#fyi tim.gautier

[CL 13922848 by roey borsteinas in ue5-main branch]
2020-07-22 09:35:57 -04:00
brooke hubert
8af7d42fa5 Level Editor Viewports now inherit from SAssetEditorViewport.
#rnx
#Jira UE-94283
#rb lauren.barnes chris.gagnon

[CL 13873728 by brooke hubert in ue5-main branch]
2020-07-16 08:12:40 -04:00
Matt Kuhlenschmidt
fc787daca5 Added the concept of a tab drawers. Active tabs can be moved to a drawer which closes them until a button on the side of the window is clicked to summon them. Once in a drawer they will close automatically when they lose focus.
#rb louise.rasmussen

[CL 13762337 by Matt Kuhlenschmidt in ue5-main branch]
2020-06-24 15:09:51 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
Matt Kuhlenschmidt
797aec1726 Updated the active viewport focus indicator
#rb none

[CL 13309404 by Matt Kuhlenschmidt in ue5-main branch]
2020-05-14 13:20:23 -04:00
Matt Kuhlenschmidt
f3bda5dd60 Viewport related styling changes
- Overhauled in viewport toolbar
- Updated active viewport outline and hidden tab dock icons

#rb none

[CL 13307248 by Matt Kuhlenschmidt in ue5-main branch]
2020-05-14 10:19:21 -04:00
rex hill
2b510f6d5c Fix for level editor viewport menu commands not working after changing layout.
#jira UE-92684
#rnx
#rb none

#ROBOMERGE-SOURCE: CL 13181439 via CL 13184224 via CL 13184258 via CL 13184288 via CL 13184350
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13184404 by rex hill in Main branch]
2020-05-05 14:40:45 -04:00
bob tellez
f4f88c8582 #UE4 Route more references through the game asset filter. Drag/Dropping an actor in a level is now checked. Also you'll now get more detailed feedback when you cannot assign a reference in a property when dragdropping
#ROBOMERGE-SOURCE: CL 11772068 via CL 11772087
#ROBOMERGE-BOT: (v656-11643781)

[CL 11868986 by bob tellez in Main branch]
2020-03-03 11:32:54 -05:00
brooke hubert
de861d7114 Disable input in Level Editor Viewports when a map is being torn down.
# Speculative fix - the callstack in the bug looks like we think we have a valid actor pointer, but it's probably getting garbage collected. The log is outputting level unload messages right before the crash.

#Jira UE-89337
#rb lauren.barnes

#ROBOMERGE-SOURCE: CL 11774509 in //UE4/Release-4.25/... via CL 11774609
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11776817 by brooke hubert in Main branch]
2020-02-28 16:04:55 -05:00
matt kuhlenschmidt
0f072073f6 Reworked how realtime is overriden in the editor. This fixes issues where a temporarily set realtime state is saved between editor sessions causing users to be unaware that their viewport is not realtime. Shutting down the editor during PIE or remote desktop were two such cases.
Now there is a separate api on editor viewports to set and remove a temporary override state.  Deprecated existing methods and fixed up use cases.



#ROBOMERGE-OWNER: matt.kuhlenschmidt
#ROBOMERGE-AUTHOR: matt.kuhlenschmidt
#ROBOMERGE-SOURCE: CL 11498109 via CL 11498156 via CL 11498165
#ROBOMERGE-BOT: (v654-11333218)
#rb none

[CL 11498464 by matt kuhlenschmidt in Main branch]
2020-02-18 09:38:41 -05:00
mic rooney
ab9ddc3dee Pass over Use Mouse For Touch and cleaning up some redundant code.
#ROBOMERGE-SOURCE: CL 11423897 via CL 11423954 via CL 11423969
#ROBOMERGE-BOT: (v654-11333218)

[CL 11423980 by mic rooney in Main branch]
2020-02-13 14:19:51 -05:00