Commit Graph

1183 Commits

Author SHA1 Message Date
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
jeanfrancois dube
df23acad8e World Partition: replace popup by on-screen message when streaming is disabled but the world is large enough to justify enabling it.
#rb patrick.enfedaque
fyi jeansebastien.guay
#preflight 632dedbcb4515b7e2232b5e0
#rnx

[CL 22165369 by jeanfrancois dube in ue5-main branch]
2022-09-23 20:46:11 -04:00
florin pascu
4d07ec3fb7 Fix NullRHI LevelEditor
#rb none
#jira none
#preflight 632b5dbd671a1a24b5c4635a

[CL 22140062 by florin pascu in ue5-main branch]
2022-09-22 13:57:20 -04:00
florin pascu
c2f1fa2008 Fix CIS for Commandlet
#rb none
#jira none
#preflight none

[CL 22119170 by florin pascu in ue5-main branch]
2022-09-21 14:46:16 -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
matt hoffman
3025f39413 Sequencer: Show an error dialog when using the Cinematics Toolbar menu and trying to open a Level Sequence (Actor) that has no Level Sequence (property) assigned to it.
#jira None
#rb Max.Chen, Richard.Boisvert
#preflight 6328cf7ea236a029de8864e7

[CL 22088515 by matt hoffman in ue5-main branch]
2022-09-20 00:31:24 -04:00
zach brockway
a1a067adef VR Editor: Enumerate UVREditorMode-derived classes for selection in toolbar split button dropdown, and update toolbar icon. The dropdown menu also indicates whether an HMD is available, and if so its runtime version string.
Historically not having an HMD available has meant this toolbar button would be hidden entirely, and this is still the case if no derived/alternative UVREditorMode classes are available. However, if any additional mode classes are present (for example because the user has enabled the Virtual Scouting plugin), the toolbar button will always be shown, in the hopes that surfacing the HMD status will simplify the onboarding experience for new Virtual Scouting users.

If the configured mode class becomes unavailable (for example because the corresponding plugin was subsequently disabled), then its object path will be shown as selected and disabled in the dropdown, and the primary toggle button will also be disabled until a valid mode is selected.

#jira UE-131286, UE-164026
#rb jason.walter, Lauren.Barnes
#preflight 6324f528f258fccf98e5e3ec

[CL 22087033 by zach brockway in ue5-main branch]
2022-09-19 21:57:24 -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
mike zyracki
542ef59270 Level Editor: ActiveViewport::GetSize can crash if there is no active viewport, for example if the tab was closed.
#jira UE-161243
#rb lauren.barnes
#preflight 631a2ff1354826f8b3727145

[CL 21910457 by mike zyracki in ue5-main branch]
2022-09-08 21:28:13 -04:00
Robert Millar
ed78ac634c FNames containing asset paths are deprecated. FSoftObjectPath or FTopLevelAssetPath should be used instead.
Fixups for editor support classes for actors.

#jira none
#preflight 631a69a9d31788ea3a6d2741

[CL 21905995 by Robert Millar in ue5-main branch]
2022-09-08 18:31:00 -04:00
paul chipchase
3eb268abbb Create a new module 'VirtualizationEditor' and move the existing VA editor code there from the 'DerivedDataEditor'
#rb Per.Larsson
#jira UE-162600
#rnx
#preflight 631597667562a90dfa991913

- Up until now we have been piggybacking off the DDC editor module as the VA statistics panel was originally based on the DDC statistic panel but now we are starting to do more VA editor/UX work so we should probably have our own module.
- This does mean we need to remove the the VA statistics panel from the DDC status bar, but it didn't really belong there and the panel can still be opened via the menu 'Tool->Audit->Virtual Assets'

[CL 21790583 by paul chipchase in ue5-main branch]
2022-09-05 06:19:34 -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
karen jirak
1363ea98c1 Updating pilot the actor editor viewport toolbar section to UE5 styles.
#jira UE-160893
#rb sebastian.nordgren
#preflight 631202befb6213403c508de6
#p4v-preflight-copy 21734448

[CL 21765968 by karen jirak in ue5-main branch]
2022-09-02 15:45:10 -04:00
nick darnell
8c6dccfce9 Core - Making some improvements to TObjectPtr, introducing some templating utilities so that we can better template match TObjectPtr vs UObject* pointers so that a single templated function can work for either.
Core - Added support for assigning a TObjectPtr<T> to a TScriptInterface just like you'd expect from a raw Object*.

Actor - Making a version of GetComponents that will work for TObjectPtr collections.  Additionally fixed several places in the engine where we're forcing the template parameter instead of allowing it to be determined automatically - which forced me to leave one of the GetComponent implementations, but I think we aught to remove it. e.g.

Don't Do

TArray<UPrimitiveComponent*> PrimComponents;
Actor->GetComponents<UPrimitiveComponent>(PrimComponents);

Do

TArray<UPrimitiveComponent*> PrimComponents;
Actor->GetComponents(PrimComponents);

Slate - Introducing support for collections of TObjectPtr<T>'s being used as source lists for the STableView.

#preflight 630f7af8e54ec9d581b03d65
[REVIEW] [at]Marc.Audy, [at]Steve.Robb, [at]Zousar.Shaker

[CL 21727328 by nick darnell in ue5-main branch]
2022-08-31 16:13:49 -04:00
Florin Pascu
6b3c1469ba Preview Shader Platform using different ShaderMaps and the DDPI/Cvar values of the Previewable Actual Platform
NumPlatforms limit changed from 64 to 65536, limited by NumBits
#jira UE-120561
#rb Chris.Waters, Jack.Porter, Mihnea.Balta
#preflight 630f1604f92416fb92b373ab

[CL 21718179 by Florin Pascu in ue5-main branch]
2022-08-31 04:38:34 -04:00
Jared Therriault
fe6a8fa65e Level Editor:
-Make LevelEditorContextMenu public

Object Mixer:

-Implement context menu for rows similar to the one in scene outliner

#rb Brooke.Hubert

#jira UE-161247
#jira UE-162289

#preflight https://horde.devtools.epicgames.com/job/63095a6e9f7fd5df573cf68e

[CL 21708411 by Jared Therriault in ue5-main branch]
2022-08-30 16:13:06 -04:00
richard malo
7e6d98cf61 - Added new optional world partition builder UWorldPartitionLandscapeSplineMeshesBuilder to extract Landscape SplineMeshComponents and ControlPointMeshComponents and distributes them into ALandscapeSplineMeshesActors.
- When builder is used, ALandscape actor is marked with a flag. This flag is then used to automatically mark hidden in game (for PIE) and strip from cooked builds the source components.
- Added new ALandscapeSplineMeshesActor (partitioned actor) that serves as a container for extracted landscape spline meshes and control point meshes.
#rb sebatien.lussier, jeanfrancois.dube, patrick.enfedaque
#preflight 630d3157660db81edb7a197f

[CL 21698778 by richard malo in ue5-main branch]
2022-08-30 08:09:34 -04:00
jeanfrancois dube
a746ce5a5c Fix removing needed PRAGMA_ENABLE_OPTIMIZATION.
#rb none
#preflight none
#rnx

[CL 21688371 by jeanfrancois dube in ue5-main branch]
2022-08-29 16:52:53 -04:00
jeanfrancois dube
86a4035e88 Fix regression assert when saving newly created level instance.
#rb patrick.enfedaque
#preflight none
#rnx

[CL 21688332 by jeanfrancois dube in ue5-main branch]
2022-08-29 16:52:07 -04:00
brooke hubert
51b323fd11 [Level Viewport] Speculatively fix a crash in FLevelEditorModule::OnElementSelectionChanged delegate handler
#preflight 63042961a45b007ea25d35ae
#Jira UE-159774
#rb lauren.barnes

[CL 21562666 by brooke hubert in ue5-main branch]
2022-08-25 09:22:50 -04:00
bryan sefcik
8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00
jeanfrancois dube
7e56385289 When saving a template, make sure to go throuih the save as path as it properly handles partitioned worlds.
#rb patrick.enfedaque
#preflight none
#rnx

[CL 21546740 by jeanfrancois dube in ue5-main branch]
2022-08-24 14:01:12 -04:00
Jared Therriault
711161e30e Object Mixer & Light Mixer:
-Move modules to plugins

#rb None

#jira UE-161662

#preflight https://horde.devtools.epicgames.com/job/630463dbc85b7fef226ee6d5

[CL 21502859 by Jared Therriault in ue5-main branch]
2022-08-23 01:43:07 -04:00
jeanfrancois dube
ce87b29376 fix tooltip typo
#rb none
#preflight none
#rnx

[CL 21467808 by jeanfrancois dube in ue5-main branch]
2022-08-19 19:22:15 -04:00