Commit Graph

1139 Commits

Author SHA1 Message Date
scott nelson
fbdc48a132 Add Naming logic to BuildSingleAssetAddReplaceActorMenu to allow ToolsMenu filtering operations on AddActor Entries
#rb Rex.Hill
#preflight 62cc50c4944eaa40beaaa046

#ROBOMERGE-AUTHOR: scott.nelson
#ROBOMERGE-SOURCE: CL 21044158 via CL 21083011 via CL 21083176 via CL 21083240
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21085642 by scott nelson in ue5-main branch]
2022-07-13 20:17:15 -04:00
michael balzer
a60389faac FBSPUtils: Resolve issues with non-inclusive terminology
#jira UE-159290
#preflight 62cf4b12d45d5be7f1bef390

[CL 21084034 by michael balzer in ue5-main branch]
2022-07-13 19:01:45 -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
richard malo
a2e941af85 Changed ULevelEditorContextMenuContext's HitProxyActor from TObjectPtr to TWeakObjectPtr to avoid getting reports of a reference to a stale world when entering level instance edit mode.
#rb philippe.deseve
#preflight 62bc7604d8366789fdd52d02

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 20878928 via CL 20879101 via CL 20879125
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20881839 by richard malo in ue5-main branch]
2022-06-29 16:22:54 -04:00
lonnie li
ceb7906577 ViewportToolBar: Added LeftExtension point for the LevelViewportToolBar.
Added ViewportToolBarContext to permit use of FEditorViewportToolBarMenu widgets in LevelViewportToolBar panel extensions.

#rb lauren.barnes
#preflight 62b9bb3b5d29d0d10ab7f766

#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 20830641 via CL 20830674 via CL 20830679
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20833360 by lonnie li in ue5-main branch]
2022-06-27 12:33:28 -04:00
mike beach
b3539fc077 Fixing an issue where level instances nested inside a locked sub-level would permit selections that would assert later.
#rb jeanfrancois.dube
#preflight 62b4e50a9117e2324e259dc5

#ROBOMERGE-OWNER: mike.beach
#ROBOMERGE-AUTHOR: mike.beach
#ROBOMERGE-SOURCE: CL 20804217 via CL 20804263 via CL 20804269
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20805522 by mike beach in ue5-main branch]
2022-06-23 20:15:54 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00
Richard Malo
f846923316 Fixed case actor editor context not refreshing when comitting a level instance
#rb jeanfrancois.dube
#preflight 62b30fafda272a658f924e6e
#robomerge EngineMerge

[CL 20774263 by Richard Malo in ue5-main branch]
2022-06-22 10:26:53 -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
Patrick Boutot
6f74b07697 Create Camera Here now show the DisplayName instead of the top level asset path.
#jira UE-156806
#rnx
#rb jamie.dale, jason.stasik
#preflight 62ab6696ea213dadf0d5a1f3

[CL 20690227 by Patrick Boutot in ue5-main branch]
2022-06-16 13:39:43 -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
scott nelson
bd24608a0f Add Filtering mechanism to MainFrame's MRUFavoritesList and LevelEditorMenu's 'Open Recent Level'
#rb Rex.Hill, Lauren.Barnes
#preflight 62aa17769c7b849bb57f5727

#ROBOMERGE-AUTHOR: scott.nelson
#ROBOMERGE-SOURCE: CL 20677473 via CL 20677506 via CL 20678503 via CL 20678648
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20679826 by scott nelson in ue5-main branch]
2022-06-15 21:13:31 -04:00
vincent beauchemin
6817e1067a Add ensure in SLevelEditor::CanSpawnLevelEditorTab
#rb jeanfrancois.dube
#jira UE-156432
#preflight skip
#rnx

[CL 20627339 by vincent beauchemin in ue5-main branch]
2022-06-13 10:57:32 -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
Tony Wong
6846581b20 LevelEditor: Added delegate to extract an asset from a drag and drop operation when SLevelViewport cannot get one.
#JIRA: UE-141361
#preflight 629e6871ed5182784252ae4c
#review-20379674 @brooke.hubert
#rb brooke.hubert
#rnx

[CL 20539194 by Tony Wong in ue5-main branch]
2022-06-07 11:47:10 -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
lina lam
b43f955271 Removed function ExtendToolsMenu() because it was a duplicated code that also exists in MainMenu.cpp.
#jira UE-141017 - Translation Picker tool is listed twice in the menu
#rb Lauren.barnes
#preflight 62978b11841f5ba93cc78c8e

[CL 20456069 by lina lam in ue5-main branch]
2022-06-01 14:37:52 -04:00
robert manuszewski
d1443992e1 Deprecating ANY_PACKAGE.
This change consists of multiple changes:

Core:
- Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject)
- Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter
- Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses
- Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names
- Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used  in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed.
- Added static UClass::TryConvertShortNameToPathName utility function
- Added static UClass::TryFixShortClassNameExportPath utility function
- Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass')
- All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath
- Added a new startup test that checks for short type names in UClass/FProperty MetaData values

AssetRegistry:
- Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath
- Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names
- This also applies to a few other modules' APIs to match AssetRegistry changes

Everything else:
- Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input)
- Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName()
- Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names

#jira UE-99463
#rb many.people
[FYI] Marcus.Wassmer
#preflight 629248ec2256738f75de9b32

#codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448496 by robert manuszewski in ue5-main branch]
2022-06-01 03:46:59 -04:00
Brandon Schaefer
1abae7891d Check for a nullptr for the asset class
#jira UE-154147
#rb Lauren.Barnes
#preflight none

[CL 20438041 by Brandon Schaefer in ue5-main branch]
2022-05-31 11:57:28 -04:00
lauren barnes
53488dc718 Updating CrashReportClient style to only use images from certain folders, and moving developer tool style setup to individual style classes.
#jira UE-152623
#rb Josh.Adams, Patrick.Boutot, Patrick.Laflamme, Louise.Rasmussen
#preflight 628d6c5faf7a2e956b8de990

#ROBOMERGE-OWNER: lauren.barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20366551 via CL 20368551 via CL 20369147 via CL 20369164
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20370889 by lauren barnes in ue5-main branch]
2022-05-25 16:27:45 -04:00
yiliang siew
98f0fa3806 - Fixed nullptr dereference when the module is being unloaded since the tab's parent is already de-allocated if the engine is exiting.
- Also prevents this sort of bug from occurring in Slate altogether.

#rb Lauren.Barnes
#preflight 6287c2768828ea88c8662b2d

#ROBOMERGE-AUTHOR: yiliang.siew
#ROBOMERGE-SOURCE: CL 20298520 via CL 20298571 via CL 20298583 via CL 20298596
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20305684 by yiliang siew in ue5-main branch]
2022-05-20 19:13:25 -04:00
Marc Audy
310df188b4 CAC per instance properties
#preflight 62867d3e9016c6dd898d8fa2

[CL 20284659 by Marc Audy in ue5-main branch]
2022-05-19 14:43:57 -04:00
Max Chen
d2ea33ba30 Sequencer: Add asterisk to the Sequencer tab if the asset is dirty (similar to level editor)
#jira UE-150643
#preflight 627e7e076d7654cc68a9b195
#rb andrew.rodham

[CL 20255185 by Max Chen in ue5-main branch]
2022-05-17 22:18:24 -04:00
Jerome Delattre
3d4310d84b Expose BuildLightMaps command to python and blueprint utilities
#preflight 6283e68b024d020b2d657a97
#rb Juan.Canada, Yujiang.Wang
#jira none

[CL 20248191 by Jerome Delattre in ue5-main branch]
2022-05-17 14:36:34 -04:00