Commit Graph

111 Commits

Author SHA1 Message Date
karen jirak
f802214703 The Prefabs editor subobject editor should behave the same as the subobject editor in the main window.
It should always show the subobject editor when an actor is selected (this state only exists for the main window as far as I know, but it still shold be honored if it is possible)
    When a core entity\prefab is selected
        It should show the subobject editor when the CVar CoreEntity.UI.ForceShowComponentEditor = true, and this is the default behavior
        It should hide the subobject editor when the CVar CoreEntity.UI.ForceShowComponentEditor = false
        It should not have a search bar in the subobject editor

Note that there will be some differences, like the prefabs editor will not have a blueprints button, and currently the main editor has a label of the number of components\objects that I think has to be taken off, so that won't be there. See screen cap for new behavior.

#jira UE-195346
#rb brooke.hubert

[CL 27903205 by karen jirak in ue5-main branch]
2023-09-14 20:23:43 -04:00
karen jirak
3131e9ea1b Update CVar to show the subobject editor by default.
#jira UE-194008
#rb  skip

[CL 27724853 by karen jirak in ue5-main branch]
2023-09-08 15:57:53 -04:00
karen jirak
02a8dc9818 Details Panel - Component card layout actions
The categories on the components for core entities now have an action menu. It has many things in it that will log.

#jira UE-194008
#rb  Brooke.Hubert

[CL 27717413 by karen jirak in ue5-main branch]
2023-09-08 13:15:51 -04:00
karen jirak
30fd8b7291 Create CVar to enable card layout through out the interface
This enables the card layout upon renewal of selected items in UE. I added the CVar DetailsPanel.Style.EnableCardLayout. When true throughout UE Card layout will be used, else the Classic details panel layout will be used. Also made it so the hiding\showing of the component editor is independant of the details style, by adding a ShouldHideComponentEditor to the DetailsVieiwObjectFilter, which is checked in SActorDetails.cpp to see if the Component Editor should be shown. SDetailsView has been updated to return the Card layout as the primary style key if DetailsPanel.Style.EnableCardLayout is true.


#jira UE-194197
#rb Ronald.Koppers

[CL 27475943 by karen jirak in ue5-main branch]
2023-08-29 23:07:56 -04:00
karen jirak
7664dff26f Create CVars to enable\disable the card layout and if it is enabled, hide or show the component editor.
Updated CoreEntityDetailsFilter to introduce the following CVars:

If true, enables the card layout, else core entities will use Classic details panel:
CoreEntity.DetailsPanel.DetailsPanelEnableCardLayout

If in Card layout and true, shows the component editor:
CoreEntity.UI.ForceShowComponentEditor

Also updated SActorDetails.cpp to use CoreEntity.UI.ForceShowComponentEditor to show and hide the component editor.

#jira UE-194008
#rb brooke.hubert

[CL 27420238 by karen jirak in ue5-main branch]
2023-08-28 15:09:12 -04:00
karen jirak
e8d9012e02 Feature:
* The details panel must be enhanced to show Components as cards
* This new Card style should be applicable to any details panel
* Subobject editor had to be hidden upon selection of entity

Scene graph ~ fix the linker errors caused by having to initialize a reference from importing the SDetailsView code

#jira UE-193821, UE-192032
#rb aditya.ravichandran

[CL 27395322 by karen jirak in ue5-main branch]
2023-08-25 18:28:05 -04:00
hilda cruz
94ea127efe [Backout] - CL27366337 due to build error
#rnx
[FYI] Karen.Jirak
Original CL Desc
-----------------------------------------------------------------
Feature:
* The details panel must be enhanced to show Components as cards
* This new Card style should be applicable to any details panel
* Subobject editor had to be hidden upon selection of entity

Scene graph ~ fix the linker errors caused by having to initialize a reference from importing the SDetailsView code

#jira UE-193821, UE-192032
#rb Brooke.Hubert

[CL 27366485 by hilda cruz in ue5-main branch]
2023-08-24 22:31:17 -04:00
karen jirak
b30cf9cdbf Feature:
* The details panel must be enhanced to show Components as cards
* This new Card style should be applicable to any details panel
* Subobject editor had to be hidden upon selection of entity

Scene graph ~ fix the linker errors caused by having to initialize a reference from importing the SDetailsView code

#jira UE-193821, UE-192032
#rb Brooke.Hubert

[CL 27366356 by karen jirak in ue5-main branch]
2023-08-24 22:07:53 -04:00
karen jirak
e2ba4c5032 Revert: Updates for Modular Class Display to add a widget registration system and get it working for BaseToolkit and toolbars....
#rb none

[CL 27299600 by karen jirak in ue5-main branch]
2023-08-23 03:14:14 -04:00
karen jirak
acea30606e Feature:
* The details panel must be enhanced to show Components as cards
* This new Card style should be applicable to any details panel
* Subobject editor had to be hidden upon selection of entity

#jira UE-192032
#rb Brooke.Hubert

[CL 27297832 by karen jirak in ue5-main branch]
2023-08-23 00:49:40 -04:00
phillip kavan
490fbc0e8c Sync "reset to default" state in the Actor details view on archetype edits that occur while archetype instances are actively selected to it, e.g. while changing Blueprint class defaults.
#jira UE-179809
#rb Karen.Jirak
#preflight 6414a40d37382f6bf569a8cc

[CL 24906550 by phillip kavan in ue5-main branch]
2023-04-03 23:32:03 -04:00
patrick enfedaque
e64f17803d SActorDetails: Fix SubObjectEditor not being cleared properly
#rb ben.hoffman
#preflight 6346e694663dafe4162f6b77
#rnx

[CL 22505214 by patrick enfedaque in ue5-main branch]
2022-10-13 11:21:34 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
zach rammell
392dfe8d69 [Backout] - CL19565596
Original CL Desc
-----------------------------------------------------------------
Prevent details panel from getting stuck on deleted elements when locked

It will now unlock and clear itself when an element is deleted

#jira UE-142503
#rb brooke.hubert
#preflight 6244d3829f4042341454d61a

[CL 19595303 by zach rammell in ue5-main branch]
2022-04-01 16:45:42 -04:00
zach rammell
400c4b2022 Prevent details panel from getting stuck on deleted elements when locked
It will now unlock and clear itself when an element is deleted

#jira UE-142503
#rb brooke.hubert
#preflight 6244d3829f4042341454d61a

[CL 19565596 by zach rammell in ue5-main branch]
2022-03-30 18:26:36 -04:00
Julien StJean
0a3953c790 Adding a button to details pannel and a mecanism to register the promotion of elements. (Hydration)
#jira UE-138486
#rb Brooke.Hubert
#preflight 62169d5ea45a91013f37eeea

[CL 19100389 by Julien StJean in ue5-main branch]
2022-02-23 15:54:47 -05:00
jamie dale
1f97a96a67 Fixed the component tree potentially showing stale items
SSubobjectInstanceEditor::OnObjectReplaced was never bound, so we now just handle this directly in SActorDetails instead

#rb Ben.Hoffman
#preflight skip
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 18346293 via CL 18347479 via CL 18347485 via CL 18347489 via CL 18348493 via CL 18348565
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18348601 by jamie dale in ue5-release-engine-test branch]
2021-12-01 21:15:38 -05:00
sebastian nordgren
6577bca4d4 Added section selector to the details view. It is now possible to register a category to a section, which will cause the entire category to be shown if the relevant section is selected.
Moved FDetailFilter to its own file.

#rb matt.kuhlenschmidt
#preflight 61361043bdfce00001c0a317

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 17442135 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17442153 by sebastian nordgren in ue5-release-engine-test branch]
2021-09-07 03:39:26 -04:00
julien stjean
9af8446874 Changed the TypedElementInterface to use UInterfaces instead of an object base api.
#jira UETOOL-4054
#preflight 6132413c1a52e20001dce90d
#rb Jamie.Dale

#ROBOMERGE-SOURCE: CL 17424653 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17424661 by julien stjean in ue5-release-engine-test branch]
2021-09-03 14:18:34 -04:00
ben hoffman
dd95df28b4 Also check for the component archetype when updating the tree selection in SActorDetails because it is a viable option for inherited BP components on instanced objects
#jira UE-118278
#rb marc.audy
#rnx

#ROBOMERGE-SOURCE: CL 16749051 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16749200 by ben hoffman in ue5-release-engine-test branch]
2021-06-22 17:03:10 -04:00
ben hoffman
6f0cd4f571 Fixed actor details not showing the properties of the root componenent if selected.
Updated the logic in SActorDetails::RefreshSubobjectTreeElements to match the logic in  SActorDetails::OnSubobjectEditorTreeViewSelectionChanged when deciding whether a component or actor is selected
[FYI] jamie.dale
#jira none
#rb trivial
#preflight 60c2bbb1b1a4a3000131e17a

#ROBOMERGE-SOURCE: CL 16635419 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16635452 by ben hoffman in ue5-release-engine-test branch]
2021-06-10 22:32:28 -04:00
ben hoffman
8a1a6b21f9 Correctly aquire the editor component handle from an actor component when the tree selection is updated in the SActorDetails panel
#jira UE-117374
#rb justin.hare
#rnx
#preflight 60bfe225c612640001735e73

#ROBOMERGE-SOURCE: CL 16597031 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16597046 by ben hoffman in ue5-release-engine-test branch]
2021-06-08 19:54:16 -04:00
Jamie Dale
982ac75d6b Fixed the sub-object instance editor toolbar being visible, even when non-actor elements were selected
The button bar of the sub-object instance editor would always be visible, even if there was no valid actor context to operate on. This changes it to only appear for actor contexts (ie, we can't add components to static mesh instance elements).

#fyi Brooke.Hubert, Ben.Hoffman

[CL 16526044 by Jamie Dale in ue5-main branch]
2021-06-01 20:19:16 -04:00
Jamie Dale
358b71289b Fixed warning when editing non-actor element types
The sub-object instance editor would warn that the given context wasn't an actor, so this limits it back to only actor contexts (like how the SCS editor used to work)

#fyi Brooke.Hubert, Ben.Hoffman

[CL 16413105 by Jamie Dale in ue5-main branch]
2021-05-20 20:14:19 -04:00
ben hoffman
9114fe4561 Replace use of the old SCS editor with the Subobject editor in the Actor Details panel of the level editor.
#jira UE-114839
#rb justin.hare
#rnx
#preflight 6094a1c9c6c42e00013a57b7

[CL 16237782 by ben hoffman in ue5-main branch]
2021-05-07 10:04:49 -04:00