Commit Graph

223 Commits

Author SHA1 Message Date
jamie dale
0f54e84773 Minimal context menu for static mesh instance elements
Currently only delete and delta transform are enabled/available

#rb Brooke.Hubert

#ROBOMERGE-SOURCE: CL 15631470 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15631487 by jamie dale in ue5-main branch]
2021-03-05 20:06:48 -04:00
Max Chen
9b73c0f152 Editor: Change to SLevelViewport
#jira UE-108941
#rb brooke.hubert

[CL 15520489 by Max Chen in ue5-main branch]
2021-02-24 16:03:09 -04:00
jamie dale
107f7b0f0c Audited use of FDetailsViewArgs::ObjectsUseNameArea
CL# 15481362 changed the behavior of ObjectsUseNameArea so that the object name was visible, and upon auditing the current use of ObjectsUseNameArea it was found that all but a few cases likely intended to use HideNameArea instead.

Breaking: This change also renames FDetailsViewArgs::bShowActorLabel to FDetailsViewArgs::bShowObjectLabel to reflect what it actually does.

#rb Brooke.Hubert

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

[CL 15496134 by jamie dale in ue5-main branch]
2021-02-22 19:45:57 -04:00
jamie dale
82ca162aa8 Initial support for manipulating Static Mesh instances directly in the editor
Adds support for selection, gizmo manipulation, property editing, duplication, deletion, and undo/redo for Static Mesh instances within the main Level Editor, without having to enter an alternative editing mode.

Note: This is currently disabled via UE_ENABLE_SMINSTANCE_ELEMENTS

#rb Brooke.Hubert

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

[CL 15481376 by jamie dale in ue5-main branch]
2021-02-19 22:02:09 -04:00
jamie dale
5981e8f54a Cached the elements to manipulate until the selection set actually changes
This avoids the calculation being made repeatedly when nothing has changed (eg, it used to be cached 3-4 times during a selection change event), as well as not needing to calculate it each frame (eg, for the gizmo visibility, or during a drag operation)

#jira UE-108343
#rb Brooke.Hubert

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

[CL 15471421 by jamie dale in ue5-main branch]
2021-02-19 09:37:15 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
brooke hubert
f670759821 Placement Single tool improvements:
* Preview actor to visualize placement.
* Ctrl + click to rotate to another item in the palette and regenerate rotation and scale.
* Configurable normal axis alignment.

Also fixed a crash on exiting the mode due to lingering mode toolkit references in the level editor.

#Jira UE-107395
[at]jamie.dale [at]chris.gagnon

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

[CL 15454762 by brooke hubert in ue5-main branch]
2021-02-18 13:43:48 -04:00
louise rasmussen
75b78dbb8e Pathway for Toolkits to add Viewport Overlay Widgets
#JIRA UETOOL-2865
#rb matt.kuhlenschmidt

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

[CL 15322953 by louise rasmussen in ue5-main branch]
2021-02-04 17:51:49 -04:00
Gines Hidalgo
a606c1d42a #jira UE-107755
Editor layout system: If there is a version bump in the layout system, it used to show a message dialog always. Behavior modified.
If the load request comes from the "Load" UI button, it keep displaying a message dialog to warn the user (and a UELOG(Warning)). If it's from the editor startup, it will only show the UE_LOG(Warning).

Also modified the default layout with the new version.

#rb none

[CL 15307798 by Gines Hidalgo in ue5-main branch]
2021-02-03 21:14:05 -04:00
Matt Kuhlenschmidt
3fc30f4cb9 Convert Editor layout version mismatch warning from a modal prompt to an output log message. This is not a user facing message and should not block the editor
[CL 15301775 by Matt Kuhlenschmidt in ue5-main branch]
2021-02-03 16:21:44 -04:00
Louise Rasmussen
d86f2eff63 Separate Panel for Modes Palette, applied to Modeling Mode
#JIRA UETOOL-2865
#rb Lauren.Barnes

[CL 15273316 by Louise Rasmussen in ue5-main branch]
2021-02-01 14:55:57 -04:00
Jamie Dale
38a52472be Added support for deleting typed elements from a world
#rb Brooke.Hubert

[CL 15265153 by Jamie Dale in ue5-main branch]
2021-01-31 11:46:45 -04:00
brooke hubert
6eb892af36 Modes can be toggled in the level editor toolbox at runtime.
#Jira UE-107423
#rb lauren.barnes

[CL 15261947 by brooke hubert in ue5-main branch]
2021-01-29 13:59:36 -04:00
Jamie Dale
3e06018cf5 Renamed TypedElementInterfaces to TypedElementRuntime and moved UTypedElementSelectionSet to it
This lets UTypedElementSelectionSet (which has minimal dependencies) to be used by the Engine and InteractiveToolsFramework modules

#rb Brooke.Hubert

[CL 15219316 by Jamie Dale in ue5-main branch]
2021-01-27 14:25:08 -04:00
Matt Kuhlenschmidt
24fd139385 Fixed up locations making one off thumbnail pools and converted them to use the shared thumbnail pool.
[CL 15211295 by Matt Kuhlenschmidt in ue5-main branch]
2021-01-26 17:21:08 -04:00
Louise Rasmussen
c89584e7cb Place Actors (aka Placement Mode) Quick Toolbar Menu
#JIRA UETOOL-2864

#rb Lauren.Barnes

[CL 15168528 by Louise Rasmussen in ue5-main branch]
2021-01-22 19:32:07 -04:00
JeanFrancois Dube
637a061766 Allow opening data layers/world partition editors even when the world doesn't support it by making sure they disable their dialogs.
That way, we can have the editors open at editor startup and avoid having to reopen them when needed.

#rb richard.malo

[CL 15132491 by JeanFrancois Dube in ue5-main branch]
2021-01-18 16:31:39 -04:00
JeanFrancois Dube
775899a3f9 Fixed typo in SLevelEditor::CanSpawnWorldPartitionBrowser.
#rb none

[CL 15131382 by JeanFrancois Dube in ue5-main branch]
2021-01-18 14:26:51 -04:00
JeanFrancois Dube
b93a328d13 Don't allow spawning the level editor when the world is partitioned.
#rb patrick.enfedaque
#fyi simon.tourangeau

[CL 15131290 by JeanFrancois Dube in ue5-main branch]
2021-01-18 14:07:53 -04:00
Louise Rasmussen
f813bbd15d Background Color and Border Style updates
#rb trivial

[CL 15077268 by Louise Rasmussen in ue5-main branch]
2021-01-13 21:04:21 -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
Louise Rasmussen
e96422024e Updated Style Colors - replaced "Background" Color with "Panel" Color and updated "Background" Color to be dark base
#rb matt.kuhlenschmidt

[CL 15013052 by Louise Rasmussen in ue5-main branch]
2021-01-07 14:20:25 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -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
sebastian nordgren
c678b96a4b FDetailsViewArgs 8 parameter defaulted constructor deprecated and all usages fixed.
#rb lauren.barnes

[CL 14750682 by sebastian nordgren in ue5-main branch]
2020-11-16 08:16:15 -04:00