121 Commits

Author SHA1 Message Date
jamie dale
02b747b262 Added a category type that can be used with FMessageDialog to control the icon used by the in-editor dialog
Note: This doesn't impact any OS specific dialogs

Breaking: FCoreDelegates::ModalErrorMessage is now called FCoreDelegates::ModalMessageDialog and takes an extra EAppMsgCategory argument

#jira
#rb Dave.Belanger

[CL 26322797 by jamie dale in 5.3 branch]
2023-06-29 14:55:10 -04:00
jamie dale
933348f856 Use the FMessageDialog overloads that pass the optional title by-value
#jira
#rb none
#rnx

[CL 25062589 by jamie dale in ue5-main branch]
2023-04-15 19:49:32 -04:00
jamie dale
5fa5b98920 Added additional FPackageName::ObjectPathToX functions
The following functions are new:
 - ObjectPathToPathWithinPackage, eg) "/Game/MyAsset.MyAsset:SubObject.AnotherObject" -> "MyAsset:SubObject.AnotherObject"
 - ObjectPathToOuterPath, eg) "/Game/MyAsset.MyAsset:SubObject.AnotherObject" -> "/Game/MyAsset.MyAsset:SubObject"
 - ObjectPathToSubObjectPath, eg) "/Game/MyAsset.MyAsset:SubObject.AnotherObject" -> "SubObject.AnotherObject"

The behavior of ObjectPathToObjectName has also been fixed to always return the leaf-most object name within the path (eg, "/Game/MyAsset.MyAsset:SubObject.AnotherObject" -> "AnotherObject"). Any code that relied on the old behavior should use ObjectPathToSubObjectPath instead.

#preflight 63e2677e1020773a3f32f55b
#rb Matt.Peters

[CL 24057677 by jamie dale in ue5-main branch]
2023-02-07 15:29:21 -05:00
henrik karlsson
9a1d5b1ad4 [Engine/Plugins]
* Ran IWYU on ~170 plugins to remove includes not needed. Public api still keep old includes inside #if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_2

#preflight 63d09351574ab9cae4670216
#rb none

[CL 23844750 by henrik karlsson in ue5-main branch]
2023-01-25 02:42:36 -05:00
henrik karlsson
6c0988b13c [Engine/Plugins/Editor]
* Ran IWYU on all private code in the plugins under this folder.

#preflight 63bbb322c45a2c81e0673a9c
#rb chris.waters

[CL 23631839 by henrik karlsson in ue5-main branch]
2023-01-10 15:24:20 -05:00
brooke hubert
1b1dfa9c45 Remove check for UField for determining if a UObject is a valid asset for editor scripting utilities
#Jira UE-168765
#preflight 63b757f9e26e31879baef0ec
#rb jamie.dale patrick.boutot julien.stjean

[CL 23597177 by brooke hubert in ue5-main branch]
2023-01-06 09:14:11 -05:00
Patrick Vane
4c1547ad92 EditorScriptingUtilities plugin:
- Added the ability for the user to make it so that the EditorPythonExecuter doesn't shut the editor down the next tick. This is to add support for python scripts that will need multiple ticks to complete.
#preflight 63ac89b3012902cb8dba7c5b

[CL 23559532 by Patrick Vane in ue5-main branch]
2022-12-28 13:37:36 -05:00
JeanMichel Dignard
5fc36285ba Fixed typos reported by localization
#jira UE-170395
#rb none
#preflight 63939b065c5308d18c4adbab

[CL 23468692 by JeanMichel Dignard in ue5-main branch]
2022-12-09 15:54:23 -05:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
daren cheng
f6c564b03b Address multiple typos for UEFN localization
#jira UE-166004 UE-168317
#rb Robb.Surridge
#preflight 6360165b7e083afb290e187f

[CL 22889284 by daren cheng in ue5-main branch]
2022-11-01 15:30:54 -04:00
Robb Surridge
610c467639 Update vendor links for built-in plugins to use secure protocol.
#jira UE-166823
#rb lauren.barnes
#preflight 6352b20b7261e565c476ec3b

[CL 22690089 by Robb Surridge in ue5-main branch]
2022-10-21 11:04:07 -04:00
bryan sefcik
0a3a232b0f Misc module file cleanup.
#jira
#preflight 634f4929864d9be23657bbf0

[CL 22634555 by bryan sefcik in ue5-main branch]
2022-10-19 15:07:57 -04:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00
bryan sefcik
7b9e5abbcc Pass 1 on plugins:
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 631b93c6967ffc68fb2c32df

[CL 21935609 by bryan sefcik in ue5-main branch]
2022-09-10 00:03:16 -04:00
Robert Millar
d2a8b279ca FNames containing asset paths are deprecated. FSoftObjectPath or FTopLevelAssetPath should be used instead.
Fixups for blueprints in editor.

#jira UE-161932
#rb ben.zeigler
#preflight 631820e4d135b61bc59b9981

[CL 21841686 by Robert Millar in ue5-main branch]
2022-09-07 01:06:47 -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
bmiwcy
673aa0f76e Unshelved from pending changelist '21034904':
PR #9382: GetGameWorld not working correctly (Contributed by bmiwcy)

#preflight 62d85cffd54af4b9a2d8318b

[CL 21187834 by bmiwcy in ue5-main branch]
2022-07-20 16:00:54 -04:00
kriss gossart
d01acf593f Skeletal Mesh - Replace direct pointer access by the new GetSkeletalMesh/GetSkinnedAsset methods, and disambiguate some SkinnedMeshComponent/SkeletalMeshComponent uses.
#rb Josie.Yang
#preflight 62d00597803d3d3860700c69
#jira none

[CL 21089728 by kriss gossart in ue5-main branch]
2022-07-14 08:40:18 -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
lauren barnes
5f7006fb53 Fixing EditorStyle->AppStyle merge errors
#rb trivial

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20073150 via CL 20073151
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20105751 by lauren barnes in ue5-main branch]
2022-05-09 13:31:58 -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
Matt Peters
d64cf41728 AssetRegistry includes (Engine Plugins): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270563191629533ec2b6f6e

[CL 20017756 by Matt Peters in ue5-main branch]
2022-05-02 18:59:38 -04:00
Patrick Laflamme
b405594647 Exposed to Python the option to set a minimum width/height dialog when calling unreal.EditorDialog.show_object_details_view() function.
#jira UE-146744 - add resize option to EditorDialogLibraryObjectDetailsViewOptions for .show_object_details_view()
#rb Lauren.Barnes
#preflight 623dd2fe610771b0f5a3b2bb

[CL 19512797 by Patrick Laflamme in ue5-main branch]
2022-03-25 10:50:51 -04:00
zach rammell
f0e26969fe Add Editor Asset Subsystem and replace Editor Asset Library functionality with usage of new subsystem
A few broad changes:
- No longer restricts asset type to exclude levels
- Instead of failing if the asset registry hasn't fully loaded, it will wait for the registry to finish loading then continue
Unfortunately, the API is partially duplicated across the two systems until the editor asset library can be deprecated

#jira UE-142382 UE-142234
#rb brooke.hubert Patrick.Laflamme
#preflight 622fafdfce577e3ab2d9e966

[CL 19379242 by zach rammell in ue5-main branch]
2022-03-14 17:43:57 -04:00
aditya ravichandran
03e00dc258 EditorScriptingUtilities: Fix typo with deprecation messages in functions moved out of the plugin
#jira UE-144957
#preflight 62261f2e123eef55e6e5ef27
#rb lauren.barnes
#lockdown simon.tourangeau

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 19285172 in //UE5/Release-5.0/... via CL 19285745
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19291622 by aditya ravichandran in ue5-main branch]
2022-03-07 15:53:35 -05:00