Commit Graph

216 Commits

Author SHA1 Message Date
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
Matt Kuhlenschmidt
cd26fdd0cf Tab drawer improvements
- activating an editor mode that was already active but in an drawer, opens that drawer
- dock tabs can now register for drawer opening/closing callbacks so that they can do stuff when the drawer opens or closes. For example, now the placement browser focuses its search field when the drawer opens

[CL 14723696 by Matt Kuhlenschmidt in ue5-main branch]
2020-11-11 16:21:17 -04:00
Jamie Dale
6dc9d4f940 Formalized the process for creating higher-level element interfaces that can be customized by specific asset editors
This takes the framework used for UTypedElementSelectionSet and moves to it a utility base class that other higher-level interfaces can also make use of.

This also changes the interface implementations for these systems to be non-UObject types, as the script exposure is handled by the owner object, and this can solve some cyclic parsing issues with UHT (eg, between UnrealEd and LevelEditor).

#rb Chris.Gagnon, Brooke.Hubert
#rnx

[CL 14704895 by Jamie Dale in ue5-main branch]
2020-11-10 14:12:52 -04:00
geoff evans
bde28af943 Redefine Content Browser's "RealTime Thumbnails" to be only the item the cursor is hovering over instead of every thumbnail in an SAssetView.
This change removes the use of boolean attribute AreRealTimeThumbnailsAllowed. This attribute is less than ideal, design-wise, since it uses the thumbnail pool to drive the behavior of the thumbnails. Instead we build in default hover behavior to the thumbnail slate widgets, and implement plumbing for custom pathways to enable/disable real time behavior per thumbnail.

-> Add default OnMouseEnter/OnMouseLeave events on SAssetThumbnail for default hover behavior (over the actual thumbnail image), which supports detail panel, customizations, and things like FoliageEditor and Niagara Stack Overview thumbnail strip.
-> Add thumbnail initialize pathway support for disabling default hover behavior for use cases where the logical asset is more than just the thumbnail image (border elements, text elements with the asset name, etc).
-> Add custom OnMouseEnter/OnMouseLeave handlers on SAssetTileItem, SAssetListItem to perform real time behavior on entire logical asset item in Content Browser and Asset Picker.

#rb francis.hurteau
#fyi matt.kuhlenschmidt
#jira UETOOL-2363

[CL 14673948 by geoff evans in ue5-main branch]
2020-11-05 21:41:33 -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
Jamie Dale
ff7d47fbf4 Made typed element includes more consistent
- Moved all the "framework" code under "Elements/Framework".
 - Moved all the "interface" code under "Elements/Interfaces".

This lets the code be split over multiple modules (including the Engine and Editor) while retaining consistent include paths with things like "Elements/Actor", "Elements/Component", etc, as well as letting new interfaces and frameworky things be added outside of the core typed element modules while still maintaining a coherent include scheme.

#fyi Brooke.Hubert
#rb Chris.Gagnon

[CL 14585700 by Jamie Dale in ue5-main branch]
2020-10-27 07:00:04 -04:00
Jamie Dale
db7459f98e Migrated undo/redo support from USelection to UTypedElementSelectionSet
This adds some new functions to UTypedElementSelectionInterface to deal with writing the underlying data needed by an element (WriteTransactedElement) to factory it again later (ReadTransactedElement) when restoring a prior selection state.

#rb Chris.Gagnon

[CL 14585511 by Jamie Dale in ue5-main branch]
2020-10-27 05:49:47 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00