Commit Graph

1143 Commits

Author SHA1 Message Date
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
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
lonnie li
75f166d1af LevelViewportToolbar: Make LeftExtension AutoWidth to collapse unused space.
#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 21416158 via CL 21416163 via CL 21416174
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21418226 by lonnie li in ue5-main branch]
2022-08-16 20:22:21 -04:00
ronald koppers
908dabc19e Fixed crashes when deleting static mesh instances through the array manipulator in the details panel when one or more of the deleted instances is selected.
When deleting static mesh instances through the array manipulator in the details panel, there was no call to deselect any potentially selected static mesh instances. This resulted in references to these instances being held at the point they were being deleted, which the Typed Elements guard against. These changes introduce explict calls to deselect any instances before they get deleted. Deselecting will however cause a callback to UInstancedStaticMeshComponent, that causes the internal list of selected instances to be updated even though the instance entry may already be removed. This situation can happen because deleting through the array manipulator removes the index from PerInstanceSMData while deleting through other means such as the contextual menu or keyboard shortcut requires UInstancedStaticMeshComponent to explicitly remove the entry. For consistency all deletions behave as if the entry has already been removed from PerInstanceSMData, but an enum has been used for the currently supported delete cases in UInstancedStaticMeshComponent so behavior can be specialized if needed in the future.

#jira UE-160145
#rb Jamie.Dale
#preflight 62fbd119ad3bd8ad64574e98

[CL 21408903 by ronald koppers in ue5-main branch]
2022-08-16 13:48:00 -04:00
jeanfrancois dube
e8b552178e Allow saving selected actors from the actor context menu.
#jira UE-158382
#rb patrick.enfedaque
#preflight 62f6b6b8185b21882a9d42e1
#rnx

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 21386438 via CL 21389009 via CL 21389616
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21391158 by jeanfrancois dube in ue5-main branch]
2022-08-15 14:53:27 -04:00
kriss gossart
0422ca7705 Skeletal Mesh - Replace the newly created GetSkeletalMesh function by GetSkeletalMeshAsset so it matches the setter SetSkeletalMeshAsset function (which itself couldn't be named SetSkeletalMesh due to the function already existing and doing something else).
#rb Josie.Yang
#preflight 62fa2afeae3edb54c979492e
#jira none

[CL 21385959 by kriss gossart in ue5-main branch]
2022-08-15 09:26:50 -04:00
rex hill
ad5601fe7f Fix tools menu for level editor not being populated when substituted
#preflight skip

#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 21329970 via CL 21331309 via CL 21331330 via CL 21331337
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21332369 by rex hill in ue5-main branch]
2022-08-10 22:48:23 -04:00
Jared Therriault
68eb0ee1dc Object Mixer/ Light Mixer
-Support Folder and attach parent structure
-Support placing actors from OM panel
-Make Blueprint rows have a clickable link to edit the blueprint
-Support Visibility and Mute controls for folders in OM panel
-Support multiple view modes
-Save/restore tree expansion state when tree is refreshed
-Cache filter data for performance reasons
-Expose Tree View mode to filter class overrides
-Convert Filter arrays to sets
-Move Class Filter Selection combobox into Show Options (cog)
-Sort tree items by row type then alphabetically
-Performance Optimization Pass
-Fix comment blocks from /* to /** for proper parsing

#jira UE-160372
#jira UE-160373
#jira UE-160374
#jira UE-160375
#jira UE-160376
#jira UE-160377
#jira UE-160378
#jira UE-160379
#jira UE-160380
#jira UE-160381
#jira UE-160382

#rb Jason.Walter

#preflight https://horde.devtools.epicgames.com/job/62ed85b7086f90bbc442e0f1

[CL 21297546 by Jared Therriault in ue5-main branch]
2022-08-09 16:28:13 -04:00
jamie dale
cd2c04fbed Adding additional includes in preparation for removing a global include
#preflight skip
#rb none
#rnx

#ROBOMERGE-OWNER: jamie.dale
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 21283042 via CL 21286016 via CL 21286060 via CL 21286134
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21291490 by jamie dale in ue5-main branch]
2022-08-09 12:54:53 -04:00
jeanfrancois dube
93c74ad3c9 Level Instance: add an option to sync the world asset with the content browser.
#rb patrick.enfedaque
#preflight 62f23ffb461e862154f66d50
#rnx

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 21284277 via CL 21284304 via CL 21284322
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21289176 by jeanfrancois dube in ue5-main branch]
2022-08-09 11:34:09 -04:00
Dominik Peacock
bff872f866 Fix typo
#jira UE-160404
#rb Jason.Walter
#preflight 62f119c13122bf80ae1ade5b
#fyi Jared.Therriault

[CL 21268732 by Dominik Peacock in ue5-main branch]
2022-08-08 10:41:29 -04:00