Commit Graph

323 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
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
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
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
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
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
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
bryan sefcik
435d89dea4 Manually updated a few files in Engine/Source/Editor/... to include some headers that were found to be missing after running IWYU.
#preflight 62cdac5084556536d0e57c64

[CL 21058996 by bryan sefcik in ue5-main branch]
2022-07-12 13:45:01 -04:00
Robb Surridge
64d1e34588 Support multiple tooltip sources and multiple base URLs for documentation.
- When the editor checks for enhanced tooltip content, it now looks in the Documentation/Source folder within the project folder and all enabled plugin folders.
- If the enhanced tooltip content contains a variable named ToolTipOverride, the content of that variable is used to override the default content for the initial simple tooltip.
- Documentation links can now use custom base URLs instead of always having the page ID appended to DocumentationURL in BaseEditor.ini.
- New base URLs can be defined in BaseEditor.ini or in DefaultEditor.ini within the project folder, as follows:
[/Script/Documentation.DocumentationSettings]
+DocumentationBaseUrls=(Id="ID",Url="http://myBaseUrl/{PAGEID}")
- They can also be added programmatically by calling IDocumentation::RegisterBaseUrl(), so plugins can add their own.
- The base URL can be specified anywhere a doc link is used. For links in code, the IDocumentation methods now accept an optional base URL parameter. For links taken from enhanced tooltip files, the ID of the base URL can now be specified at the file level in the BaseUrl metadata, or at the excerpt level in the [VAR:BaseUrl] variable.
- We now use {PAGEID} as a placeholder for where the doc link should go within the base URL.
#jira UE-139773
#rb jamie.dale
#preflight 62b08abdde510ae06e51f1dd

[CL 20936555 by Robb Surridge in ue5-main branch]
2022-07-04 14:37:49 -04:00
dave belanger
495e89fefe NewLevel output param to tell whether a level was created (user can cancel)
#rb Rex.Hill
#preflight skip

#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 20705692 via CL 20706153 via CL 20706170 via CL 20706190
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v968-20684695)

[CL 20709317 by dave belanger in ue5-main branch]
2022-06-17 16:42:53 -04:00
Josie Yang
6b15506e58 Replace direct access to SkeletalMesh object from USkinnedMeshComponent with GetSkeletalMesh function
#rb kriss.gossart
#preflight 62aafc9ada0af39a4783930a

[CL 20686007 by Josie Yang in ue5-main branch]
2022-06-16 09:14:04 -04:00
patrick enfedaque
3b18b92abc WorldPartition: RVT World Builder
- Actors that output to RVT now have a ActorDesc property so they can be loaded before updating the RVT

- Fix a typo
- Fix minimap build calling hlod build in Build All

#rb richard.malo, jeanfrancois.dube
#preflight 62a0ab6ae07732d52dca901c

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 20556419 via CL 20556559 via CL 20556576
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v954-20466795)

[CL 20559680 by patrick enfedaque in ue5-main branch]
2022-06-08 13:24:45 -04:00
Kosai106
122c77ab77 PR #9244: fix: ImportScene typo (Contributed by Kosai106)
#preflight none

[CL 20475036 by Kosai106 in ue5-main branch]
2022-06-02 16:17:11 -04:00
aditya ravichandran
632ef3784e Outliner:
Port ActorBrowsingMode over to the new Editor Config system to have separate settings for each outliner
Enable Stacked Hierarchy Headers by default
Add the ability to disable framing selection
Add the ability to get the most recently used outliner from the level editor
Fix a bug where renaming an item on one outliner would sometimes execute the rename on a different outliner

#rb richard.malo
#jira UETOOL-5014
#preflight 627aa9811e74993343331221

[CL 20126651 by aditya ravichandran in ue5-main branch]
2022-05-10 14:20:42 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
vincent beauchemin
e50e6bce3c Build Menu - Display the World Partition section depending if we are in a world partition world or not. If not, display the previous hlod menu entry like before.
#jira UE-149173 - No feedback when attempting to build the minimap when World Partition is not enabled
#rb jeanfrancois.dube sebastien.lussier
#preflight skip
#rnx

[CL 20007598 by vincent beauchemin in ue5-main branch]
2022-05-02 09:15:55 -04:00
sebastien lussier
a1e2270aa7 #jira UE-143721
Build HLODs / Minimap in editor

* Added the necessary code to be able these builds from inside the editor, using the "Build" menu
* The HLOD build will show a dialog where you can select a few options (setup, build, forcebuild, delete), then start the build
* The minimap build has no options, will start right away
* Build is actually done through an external process, so the editor will ask to save any changes that's been made, and unload the current map before starting a commandlet
* Progress is updated by parsing the commandlet log during it's execution
* Once the build is complete, will force an asset registry scan and reload the map

* Also disabled the "HLOD Outliner" tool when in a partitionned level, as it is not working and may be confusing.

#preflight 6226e29f671c913c0502a807
#rb jeanfrancois.dube, patrick.enfedaque

#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 19302772 in //UE5/Release-5.0/... via CL 19303919
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19346855 by sebastien lussier in ue5-main branch]
2022-03-10 20:49:05 -05:00
Patrick Enfedaque
aca2ccef34 WorldPartition: Use UWorld::IsPartitionedWorld instead of HasSubsystem<UWorldPartitionSubsystem> (prepare for subsystem always existing)
#rb richard.malo, jeanfrancois.dube
#preflight 6214e114a97c2c3348cb166d
#rnx

[CL 19071881 by Patrick Enfedaque in ue5-main branch]
2022-02-22 08:54:19 -05:00
aditya ravichandran
e54bc63e2b Remove Alt+P shortcut for opening the Place Actors Panel, as it is already used for PIE
#preflight 62058b01a155a4cddac86f5f
#jira UE-109136
#lockdown JeanMichel.Dignard
#rb Lauren.Barnes

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 18944535 in //UE5/Release-5.0/... via CL 18944710 via CL 18944854
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18944882 by aditya ravichandran in ue5-main branch]
2022-02-10 17:51:26 -05:00
dave belanger
4b72e06fd5 Disable code navigation when C++ is not allowed in the editor
#rb Rex.Hill
#preflight 6202c1f2e85c7a08bbf3987b

#ROBOMERGE-OWNER: dave.belanger
#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 18918552 via CL 18918618 via CL 18918624 via CL 18918631 via CL 18922663 via CL 18923570
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18923679 by dave belanger in ue5-main branch]
2022-02-09 15:28:22 -05:00
robb surridge
f42903c9ee Fix the target for the Level Editor documentation in the Help menu.
#jira UE-139318
#preflight 61e6e24322567fa458a9a028
#rb lauren.barnes

#ROBOMERGE-AUTHOR: robb.surridge
#ROBOMERGE-SOURCE: CL 18640888 in //UE5/Release-5.0/... via CL 18640987 via CL 18641010
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18641044 by robb surridge in ue5-main branch]
2022-01-18 11:28:35 -05:00
patrick enfedaque
03bb3a2f2a - Prevent 'Save Current Level As' through editor modes
- Avoid adding newly saved level if RemoveLevelFromWorld fails

#rb richard.malo, brooke.hubert
#preflight 61e1ae58076be0fc4e15ea77

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18620036 in //UE5/Release-5.0/... via CL 18620344 via CL 18620779
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18621059 by patrick enfedaque in ue5-main branch]
2022-01-14 14:01:23 -05:00