364 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
ben hoffman
e68e796925 Add a viewport action to focus the selected actors in the outliner (to be used with AlwaysFrameSelection off)
#rb aditya.ravichandran
#jira none

#ushell-cherrypick of 30293066 by kristof.morva1

[CL 30536965 by ben hoffman in ue5-main branch]
2024-01-10 10:50:17 -05:00
projectgheist
f88e2ad2f9 [Backout] - CL29759026
[FYI] aditya.ravichandran
Original CL Desc
-----------------------------------------------------------------
PR #10115:  Call OpenEditorForAsset instead of LoadMap when opening a map using the "File" menu to match how the CB opens levels

#jira UE-177003
#rb aditya.ravichandran

[CL 29998921 by projectgheist in ue5-main branch]
2023-11-29 16:25:02 -05:00
projectgheist
be9e40e260 PR #10115: Call OpenEditorForAsset instead of LoadMap when opening a map using the "File" menu to match how the CB opens levels
#jira UE-177003
#rb aditya.ravichandran

[CL 29759230 by projectgheist in ue5-main branch]
2023-11-15 16:26:40 -05:00
josh adams
9dba14d6cc - Allow for arbitrary number of PreviewPlatforms differing only by DeviceProfile
- Can specify multiple DPs and FriendlyNames now in the PreviewPlaform sections of a DDPI.ini file (separated by comma)
- Use the FriendlyName from the DDPI.ini directly in the platform preview menus, instead of counting on the friendly name of a ShaderPlatform
- IOS DDPI.ini as an example, with 3 DPs, generic IOS (what we had before), iPhone6S and iPadPro6
#rb michael.wanderson

[CL 29753922 by josh adams in ue5-main branch]
2023-11-15 13:58:07 -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
richard malo
239ac90407 Refactor in preparation of supporting Data Layer Instances saved in their own external package.
- Adapted existing code to propertly support external package on object not directly outered to the level.
- Generalized handling of external objects when renaming a world, resetting package loaders in ULevelStreamingLevelInstance, handling dirty external packages
- Implemented FExternalPackageHelper::CopyObjectsExternalPackageFilePathToClipboard
- Added optional PrimaryAssetDisplayName asset registry tag to allow for systems to use a display name (generalized version of ActorLabel tag)
#rb jeanfrancois.dube, patrick.enfedaque
#jira UE-197314

[CL 28537555 by richard malo in ue5-main branch]
2023-10-06 09:14:09 -04:00
josh adams
630fd08da7 - Redid the quick fix for NDA PreviewPlatforms crashing Mac/Linux, as it was causing some missing menu items and/or ensures with the other fixes
[FYI] michael.wanderson
#rb trivial

[CL 28006454 by josh adams in ue5-main branch]
2023-09-19 15:02:24 -04:00
michael wanderson
42e2411043 Add support for previewing platforms on PC D3D that support more than 16 samplers (max: 32). To acheive this the following changes were required:
- Added support for up to 32 samplers to the D3D12 RHI.
- Added 'MaxSamplers' to ShaderPlatform in DataDrivenPlatformInfo, this is defaulted to 16 for all shader platforms and can be modified the the DDPI ini files. This value will set the shader compiler define 'PLATFORM_MAX_SAMPLERS'.
- Added a 'RequiredSamplersSwitch' material editor node to branch based on a given shader platform's maximum sampler count.
- To support more than 16 samplers on feature level SM5 platforms Dxc and sm6.0 are used to compile the shader. On platforms that don't support Dxc and sm6.0 the preivew menu item will be disabled.

#jira UE-191404
#rb florin.pascu

[CL 27850133 by michael wanderson in ue5-main branch]
2023-09-13 16:56:08 -04:00
tiago costa
62242df915 Moved IsStaticLightingAllowed() to RenderUtils.h and replaced relevant usage.
#rb ola.olsson

[CL 27557666 by tiago costa in ue5-main branch]
2023-09-01 12:07:26 -04:00
han chu
89e5e78e72 Fix Pivot Update Issue When Snapping Object to View
#jira UE-184113
#rb @ronald.koppers

[CL 26975327 by han chu in ue5-main branch]
2023-08-09 17:55:33 -04:00
aditya ravichandran
d822cb508a Add an option to the Outliner to bulk edit components in the Property Matrix
#rb jeanmichel.dignard
#preflight 646fc7ef560bb18621ab144b

[CL 25647201 by aditya ravichandran in ue5-main branch]
2023-05-26 12:51:22 -04:00
aditya ravichandran
07f12688e4 Property Matrix Reskin
#rb JeanMichel.Dignard
#preflight 646413f5fa4cf41651def1a5

[CL 25507370 by aditya ravichandran in ue5-main branch]
2023-05-17 10:49:51 -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
scott nelson
15371dad4c Fix entity delete and right click save on level assets not generating UEFN Playsets
#rb Dave.Belanger
#preflight 6441bc6f641e2c3cb462a5bf

[CL 25175438 by scott nelson in ue5-main branch]
2023-04-24 23:20:03 -04:00
christopher waters
1d059a118a Fixing CanExecutePreviewPlatform to work correctly with multiple conditional disables. By returning early when checking the first condition, the other conditions were being skipped over, which led to things like being able to preview SM6 from a SM5 max capable runtime.
#rb florin.pascu, yuriy.odonnell
#preflight 6439d85bec219759f53f8178

[CL 25089286 by christopher waters in ue5-main branch]
2023-04-18 12:49:39 -04:00
jeannoe morissette
bbb5036ce4 Further block Vulkan_SM5 as a preview mode until all issues can be resolved.
#rb Florin.Pascu
#jira UE-181998
#preflight 642f0f28ce7fbea1eea0dac4
#rnx
#lockdown

[CL 24977303 by jeannoe morissette in ue5-main branch]
2023-04-10 10:30:09 -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
jonathan bard
699c1f06e2 Removed the deprecated baked landscape GI texture system
#rb krzysztof.narkowicz
#jira UE-164430
#preflight 641478cc3f3d31c94a885f16

[CL 24783334 by jonathan bard in ue5-main branch]
2023-03-24 14:04:36 -04:00
Florin Pascu
106ea7508c Preparation changes for removing FeatureLevel from World
FeatureLevel is Deprecated
Add Setter/Getter for FeatureLevel
NextStep: Make GetFeatureLevel returns DDSPI::GetFeatureLevel, remove FeatureLevel memberfrom UWorld
#jira UE-168551
#rb christopher.waters
#preflight 63ff5e49f43e53f6811c86a4

[CL 24461796 by Florin Pascu in ue5-main branch]
2023-03-01 09:41:33 -05:00
michael balzer
9df5b5cd07 Update Landscape Build menu entries
#preflight 63efdb2a3c1eb56f05d5bb5c
#rb jonathan.bard

[CL 24292414 by michael balzer in ue5-main branch]
2023-02-17 17:15:39 -05:00
jonathan bard
6e7a97825e Fixed common typo (verticies->vertices)
#rb trivial
#skipci
#rnx

[CL 24061364 by jonathan bard in ue5-main branch]
2023-02-07 17:42:45 -05:00