Commit Graph

1069 Commits

Author SHA1 Message Date
brooke hubert
d6429a8806 Various #ifdef WITH_EDITOR* fixes
#rnx
#jira UE-189512
#rb josh.adams

[CL 29962294 by brooke hubert in ue5-main branch]
2023-11-28 12:01:44 -05:00
david bromberg
dd8c44e6f5 Sequencer- Binding Lifetime Track.
The Binding Lifetime track is an optional track that can be added to any object binding. It allows the user to set time range(s) for when the object in question will be bound by Sequencer. Outside of those ranges, the object will be released, and any tracks underneath it will restore state/keep state as set.

Currently this track works for both spawnables and possessables. This track is a precursor to other binding types coming to Sequencer, and in the future this track will allow the user to trigger events as part of the binding activation/deactivation so that changes like AI control for example can be set when binding/unbinding NPC characters or player characters.

As part of this change, it was necessary to clean up some of the sequencer UI color settings on labels, as well as a few changes to the layer bar UI to facilitate a hatch overlay for the sections of the binding tracks that are in a deactivated area.

[REVIEW] [at]ue-sequencer
#jira UE-200088, UE-199857, UE-199299
#rb ludovic.chabant

[CL 29636485 by david bromberg in ue5-main branch]
2023-11-10 07:34:17 -05:00
sebastien lussier
eafb9cfa54 World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29541562 by sebastien lussier in ue5-main branch]
2023-11-07 18:58:37 -05:00
justin peterson
5398900aba [Backout] - CL29526661 - CIS Compile Error
[FYI] Sebastien.Lussier
Original CL Desc
-----------------------------------------------------------------
World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29528240 by justin peterson in ue5-main branch]
2023-11-07 14:19:57 -05:00
sebastien lussier
d370837cd3 World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29527011 by sebastien lussier in ue5-main branch]
2023-11-07 13:38:35 -05:00
karen jirak
4bef0b46fa Details Panel - Overrides widget support phase 1 - UI creation, styles support
* added style classes and keys for the overrides widget image brushes and the code to create them
* added a getter to DetailsViewStyle for the overrides widget combobutton style
* svgs for images
* slight modifications in pixels and alignments in and around the cateogory buttons


#jira UE-192046
#rb Brooke.Hubert

[CL 29169806 by karen jirak in ue5-main branch]
2023-10-26 23:52:11 -04:00
karen jirak
6f3c9ba9e8 Details Panel - Overrides widget support phase 1 - UI creation
* added an overrides combobutton builder
* added an overrides menu
* Updated the details single row and category renderers to use the overrides button and menu when an entity is selected, if the CVar UI.EnableOverrides is true
* Added some infrastructure in the display managers to start some property tracking, as the Category rows need to know if any of it's properties are currently overridable\resetable


#jira UE-192046
#rb Brooke.Hubert

[CL 28983128 by karen jirak in ue5-main branch]
2023-10-20 17:27:50 -04:00
jeremie roy
ad24267ebb Allow using EditorStyle in targets that compile against editor
#jira UE-195057
#rb jason.walter

[CL 28686567 by jeremie roy in ue5-main branch]
2023-10-11 18:10:58 -04:00
juan portillo
d4c6169b10 Sequencer:
Added option to have different Keyed Status / Icon via Details Keyframe Handler.
Current Keyframe Icon is completely replaced, but not yet deleted from Content or from the Style Set entry.
Added Sequencer->GetPropertyKeyedStatus, which uses the FSequencerPropertyKeyedStatus class to find the keyed status for a property.

The keyed status of a property is gotten through matching the property handle to the channel via its channel meta data. Two new member variables to the Channel MetaData were added to achieve this:
1) Sub Property Path: For structs, this is the relative path from the topmost property. E.g. for the pitch in a Transform property this would be "Rotation.Pitch"
2) Sub Property Path Map: some channels are re-used by multiple different structs and some might have different property names. The prime example is Transform and EulerTransform. These two have different names for their properties. FTransform uses "Translation" whereas FEulerTransform uses "Location", so these two must be differentiated via a map from the Struct's FName to the FName of the name it represents. This is also the case for Scale where FTransform uses "Scale3D" and FEulerTransform uses "Scale".

In addition to this, External handling is possible via ISequencerPropertyKeyedStatus::GetExternalHandler. This is used by Transform Track Editor to link the Scene Component properties (Relative Location/Rotation/Scale) so that these can also get their Keyframe Status properly, as the Transform Track itself can be in the Actor and not in the (Root) Scene Component where the properties are actually at.

#rb Max.Chen
#jira UE-188881, UE-145903, UE-193229

[CL 28307486 by juan portillo in ue5-main branch]
2023-09-27 22:48:56 -04:00
graham matuszewski
62271e4352 Changing the color of the "Find in Blueprints" button icon on the "Find Results" blueprint menu to be white instead of black. This makes it easier to see and will now adhere to the editor's default styling for buttons
#jira UE-196272
#rb ben.hoffman
#rnx

[CL 28144592 by graham matuszewski in ue5-main branch]
2023-09-22 13:36:17 -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
robb surridge
280f5a0cef Move the Focus Selected command to the Actor context menu, rename it to Frame Selected, and make the View Options menu items appear in the Actor menu in the main menu bar as well as in the contextual menu.
#jira UE-169269
#rb aditya.ravichandran

[CL 27597476 by robb surridge in ue5-main branch]
2023-09-05 11:20:56 -04:00
aditya ravichandran
a90d73d766 Asset Editors: Add support for opening cooked assets in a new "Read Only" mode for asset editors, starting with the Static Mesh Editor and Texture Editor.
#jira UE-187048
#rb jason.stasik

[CL 27595048 by aditya ravichandran in ue5-main branch]
2023-09-05 10:01:26 -04:00
vincent beauchemin
cf6e98cd46 World Partition Editor
* Upgrade overall UX (new icons, new menus, new toolbar, new layout)
* Now possible for licensees to extent options in our menus.
* Add same LevelViewport actions in the WP Editor (Build Hlods, build minimap, etc.) via new Build menu.

#rb jeanfrancois.dube
#jira UE-171044

[CL 27527223 by vincent beauchemin in ue5-main branch]
2023-08-31 12:53:27 -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
luc eygasier
bfab9cf037 Updates Landscape editor icons (BP Brush affects Heightmap/Weightmap/VisibilityLayer).
Changes buttons to toggle buttons for landscape editor BP brushes affecting layers features.
Updates landscape editor target list colors, padding, text color to reflect UE5 style.

#rb Jonathan.Bard

[CL 27346857 by luc eygasier in ue5-main branch]
2023-08-24 12:49:20 -04:00
patrick enfedaque
c13ecc4fec Foliage Fixes:
- Use FScopedActorEditorContextFromActor for operations which need to use the same context as the Source actor
- Update Move Tool to allow Move to current Actor Editor Context. (Allows changing DataLayers / ContentBundle for selected instances)

#rb richard.malo
#rnx

[CL 27315792 by patrick enfedaque in ue5-main branch]
2023-08-23 15:11:58 -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
adam kinge
5a87b69c38 Only iOS and tvOS currently support device connection type specific icons
#jira UE-190844
#rb jack.porter
#rnx
#lockdown jack.porter

[CL 27022315 by adam kinge in ue5-main branch]
2023-08-11 00:46:34 -04:00
vincent gauthier
a12239f10b Fix to Warning in Slate Starship Style. Change to Old/White icon.
#jira UE-192130
#rb none

[CL 26849265 by vincent gauthier in ue5-main branch]
2023-08-04 11:56:02 -04:00
aditya ravichandran
b474fb8dac [Backout] - CL26772061
[FYI] aditya.ravichandran
Original CL Desc
-----------------------------------------------------------------
StarshipStyle: Fix a bug where changing the Editor Window Background Color in Editor Preferences was not working because the stylesheet was referring to a pointer to the style settings that had been partially removed
#jira UE-191466
#rb karen.jirak

[CL 26813507 by aditya ravichandran in ue5-main branch]
2023-08-03 12:00:21 -04:00
aditya ravichandran
01354e9288 StarshipStyle: Fix a bug where changing the Editor Window Background Color in Editor Preferences was not working because the stylesheet was referring to a pointer to the style settings that had been partially removed
#jira UE-191466
#rb karen.jirak

[CL 26772100 by aditya ravichandran in ue5-main branch]
2023-08-02 10:37:06 -04:00