248 Commits

Author SHA1 Message Date
christopher waters
947228ead2 Fixing Preview modes
- Certain "SM5" platforms had FL SM6 requirements when being previewed.
- Adding a "PreviewFeatureLevel" to shader PreviewPlatform's to override the preview's feature level requirement.
- When changing between shader previews of the same feature level, the scene and all associated work should be reset just like when we change to a preview with a different feature level.
- During scene destruction, the VSM cache shouldn't need to process invalidations, especially since the preview shader platform has already been changed.
- Removing code that prevented switching between preview platforms that had different VSM settings.

#jira UE-200492
#rb jeannoe.morissette

[CL 31450187 by christopher waters in 5.4 branch]
2024-02-13 17:35:03 -05:00
sebastian arleryd
51b453c542 Make it possible to move the UE window by dragging the project badge
* Pad around the SProjectBadge text by using the margin attribute of its SText instead of wrapping the SText in an SBorder. This is needed because the SBorder doesn't override SWidget::GetWindowZoneOverride, and therefore the window cannot be dragged on top of that SBorder.
* Add a WindowZoneOverride attribute to SExtensionPanel. This attribute's value controls the return value of SExtensionPanel::GetWindowZoneOverride.
* Set the WindowZoneOverride to EWindowZone::TitleBar for the SExtensionPanel in SProjectBadge. This allows the window to be dragged on the project badge.
* Stop using "ProjectBadgeBackgroundColor" from GEditorPerProjectIni because that was only used by the removed SBorder.
* Stop using "SProjectBadge.BadgeShape" from SlateEditorStyle and StarshipStyle because that was only used by the removed SBorder.

#jira UE-179910
#rb aditya.ravichandran

[CL 30055750 by sebastian arleryd in ue5-main branch]
2023-12-01 17:10:42 -05:00
brooke hubert
9b5d3b919c [Actor Context Menu] Fix an issue where snapping and transforms were not respecting lock location on the actor.
#Jira UE-198380
#rb aditya.ravichandran, JeanMichel.Dignard

[CL 28916065 by brooke hubert in ue5-main branch]
2023-10-19 09:19:49 -04:00
aditya ravichandran
dd714f5e01 ActorGroupingUtils: Add a way for external systems to add a delegate to check whether a set of actors can be grouped together
#jira UE-197719
#rb Brooke.Hubert

[CL 28805730 by aditya ravichandran in ue5-main branch]
2023-10-16 13:30:11 -04:00
sebastian arleryd
f46242c89c Use correct background color for title bar project info badge
There is project information text on the right side of the title bar which uses a darker background color than the title bar background. This change fixes that by using the "Colors.Title" color as the background.

#jira UE-186873
[REVIEW] [at]editor-ux
#rnx

[CL 27598455 by sebastian arleryd in ue5-main branch]
2023-09-05 11:47:17 -04:00
marc audy
4b121aea27 Explicitly register FGlobalEditorCommonCommands to avoid implicit initialization order issues
#horde 317282

[CL 25908436 by marc audy in ue5-main branch]
2023-06-09 19:33:43 -04:00
MikBou123
fc82146553 PR #10368: GroupActors: Add a FixupGroupActors function (Contributed by MikBou123)
#rb brooke.hubert
#Jira UE-183854
#preflight 644c4752877716c8783b8148

[CL 25244749 by MikBou123 in ue5-main branch]
2023-04-28 18:51:58 -04:00
KristofMorva
aef8f4860f Add a Browse button to the Level Editor Toolbar
#rb aditya.ravichandran
#preflight 644a98819c50ddcc0bbd69ae

#ushell-cherrypick of 25215039 by kristof.morva1

[CL 25216467 by KristofMorva in ue5-main branch]
2023-04-27 11:58:56 -04:00
yoan stamant
751d0d834c Added Editor BuildMenu support for custom build types registered to EditorBuildUtils
#rnx
#rb mikko.mononen
#preflight 642d65846a37fb35e983f101

[CL 24928769 by yoan stamant in ue5-main branch]
2023-04-05 11:21:14 -04:00
jeannoe morissette
e12504b6f7 Vulkan: Fix the missing "Disable Preview" option in in Vulkan when using preview modes. Disable preview modes for the same FeatureLevel until all issues are resolved.
#rb Florin.Pascu
#jira UE-171188
#preflight 64258b4a710ec8400fdafbd8
#rnx
#lockdown mihnea.balta

[CL 24854662 by jeannoe morissette in ue5-main branch]
2023-03-30 11:19:46 -04:00
logan buchy
b411bea7c0 Tag allocations related to Editor - Framework components
Added LLM tags for many allocations in Editor Framework components.  Used best judgement for use of existing tags.
Added EngineMisc/MessageLog tag to capture allocations that the logger does since it is a well defined core system that all other modules tend to use. This will pull the disparate allocations within the logger attributed to a lot of other tags into it's own bespoke tag.
Added a LevelEditor tag since it is also a fairly large component. There isn't a generic 'Editor' tag, though I think this might be worthwhile to explore as there are other editors in UEd (PropertyEditor for example).

#jira UE-153282
#preflight 63d9872cba4fadeef0acc846
#rb booke.hubert ronald.koppers

[CL 23938402 by logan buchy in ue5-main branch]
2023-01-31 16:46:50 -05:00
JeanMichel Dignard
61bf83f261 Level Editor: Added a Show Subcomponents flag
- When true, all components that are part of the selection set will draw their vizualizers.
- When false, only the selected components and the selected actors root components will draw their vizualizers.
- Defaults to true.

#jira UE-171442
#rb lauren.barnes
#preflight 63cab8b76446bf36f2d1dc66

[CL 23791220 by JeanMichel Dignard in ue5-main branch]
2023-01-20 11:36:43 -05:00
brooke hubert
6cd446831e Remove experimental level editor and remove the corresponding setting
#rnx
#Jira none
#rb none
#preflight 63b46501c16855964d68326c

[CL 23567638 by brooke hubert in ue5-main branch]
2023-01-03 12:40:23 -05:00
christopher waters
6e30ddb01e Dependency cleanup around DataDrivenShaderPlatformInfo and a few other headers.
#preflight 63921e6a67018b14b5925197

[CL 23454104 by christopher waters in ue5-main branch]
2022-12-08 15:35:35 -05:00
sebastian nordgren
18d666bfa5 The File > Recent Levels submenu now contains a Clear Recent Levels command.
#jira UE-151889
#rb lauren.barnes
#preflight 6388a585b21cdd3a26117a55

[CL 23352735 by sebastian nordgren in ue5-main branch]
2022-12-01 10:37:09 -05:00
florin pascu
e3aa838f7c Disable Preview button now named after the Editor Shader Platform
E.G.
[EditorShaderPlatformName]
(Disable Preview)

[CL 23072227 by florin pascu in ue5-main branch]
2022-11-10 01:53:20 -05:00
aditya ravichandran
7be93c5466 Outliner:
Add a filter and column to show Unsaved Assets.
Add a filter and modify the source control column to show uncontrolled assets
#jira UE-168231
#rb patrick.laflamme
#preflight 6361417a397c7af8966cec38

[CL 22890180 by aditya ravichandran in ue5-main branch]
2022-11-01 16:02:53 -04:00
henrik karlsson
4a5e13525d Fixed non-unity non-pch compile errors
#preflight skipped
#rb none

[CL 22788359 by henrik karlsson in ue5-main branch]
2022-10-26 16:22:34 -04:00
aditya ravichandran
ba72f580d4 Outliner: Update the list of default type filters
Add the ability for other modules to add custom filters to the Level Editor Outliner
#jira UE-165115
#rb Brooke.Hubert
#preflight 6345779f8b06e0aaa0f298e0

[CL 22505460 by aditya ravichandran in ue5-main branch]
2022-10-13 11:35:32 -04:00
florin pascu
b1727769aa - More than one PreviewPlatform can now use the same ShaderPlatforms
- Clean up temporary fix
- Modify UpdatePreviewPlatforms to only restrict DDSPI properties and not enable them if the preview platform doesn't have them on
#jira UE-164781
#rb Jack.Porter, Carl.LLoyd
#preflight 633608a0936ff7e3dcd02a97

[CL 22264284 by florin pascu in ue5-main branch]
2022-09-30 01:41:52 -04:00
graeme thornton
d175dda41e Fix compile error
#preflight skip

[CL 22203249 by graeme thornton in ue5-main branch]
2022-09-27 07:10:54 -04:00
graeme thornton
770c7ff66c Fix assert when trying to convert an unknown shader platform to a feature level while creating some editor menus
#preflight none
#preflight 63329bcd665f6b8f7f1cfd72

[CL 22203247 by graeme thornton in ue5-main branch]
2022-09-27 07:10:40 -04:00
florin pascu
5669253244 - Add Disable Preview Menu Option
- GetFriendlyShaderPlatformName removed
- RHIShaderPlatformDefinitions.inl deleted
- Added FriendlyNames to all ShaderPlatforms in DDSPI
- MenuText now comes from FriendlyNames in DDSPI
#rb Jack.Porter
#jira none
#preflight 632b1f8c826e0c2fe9a9d5d2

[CL 22118730 by florin pascu in ue5-main branch]
2022-09-21 14:35:21 -04:00
bryan sefcik
b93a6cf7ed Pass 1 on editor include fixes:
Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631e283bec5b0c765fc0ffdb

[CL 21960084 by bryan sefcik in ue5-main branch]
2022-09-11 18:33:06 -04:00
sebastien lussier
36306355c4 World Partition: Disable build menu entries if they are not relevant
* Mininmap - World must be partitioned
* HLOD/Spline meshes - World must be partitioned & streaming must be enabled
#rb jeanfrancois.dube
#preflight 63122219ec45fbf3d760633f

[CL 21767630 by sebastien lussier in ue5-main branch]
2022-09-02 17:07:59 -04:00