97 Commits

Author SHA1 Message Date
brooke hubert
299b8cf9d5 [Misc Editor] New class dialog can use the given class name and parent class info to populate more descriptive strings for blueprint based types
#Jira UE-204383
#rb aditya.ravichandran

[CL 32493191 by brooke hubert in 5.4 branch]
2024-03-25 19:57:34 -04:00
kerim borchaev
7cef1fb6aa [Scene Graph] Prevent creating Prefab blueprint with "Save As Prefab" dialog until valid path is selected once
- SPathPicker calls OnPathSelected in its Construct when path is valid(passes filters). This is controlled by a flag in FPathPickerConfig, off by default.

- SNewClassDialog disables Create button until OnPathSelected is called)

#jira UE-202592
#rb aditya.ravichandran, brooke.hubert

[CL 32493107 by kerim borchaev in 5.4 branch]
2024-03-25 19:55:26 -04:00
aditya ravichandran
56171972bd SNewClassDialog: Fix incorrect conversion from class path + class name to FSoftObjectPath
#jira UE-191562
#rb ronald.koppers

[CL 32492538 by aditya ravichandran in 5.4 branch]
2024-03-25 19:39:55 -04:00
aditya ravichandran
389f2a04ea SNewClassDialog: Pick a valid default path and prevent the user from picking read only paths from the path picker
#jira UE-191562
#rb brooke.hubert, Jamie.Dale

[CL 32475222 by aditya ravichandran in 5.4 branch]
2024-03-25 13:29:00 -04:00
vincent gauthier
0540099b2b Minor fix to TextBlock in New C++ Class dialog to fix localization in Japanese.
#jira UE-192771
#rb trivial

[CL 27723997 by vincent gauthier in ue5-main branch]
2023-09-08 15:38:27 -04:00
jamie dale
b79af6ffa9 SNewClassDialog fixes
* Correctly set the "IsExternallyReferenceable" state after creating a BP class
* Fixed the initial path not being selected in the path picker when creating a BP class
* Hide the "Class Type" label when creating a BP class, as it has no value
* Show the current resolved "Path" when creating a BP class, as not everything in the path picker may update it

#jira
#rb Scott.Nelson
#rnx

[CL 27245956 by jamie dale in ue5-main branch]
2023-08-21 13:48:18 -04:00
maxime mercier
4d418c1a14 Use new Blueprint association change for SNewClassDialog
Support new blueprint type for entity prefab

[CL 25791337 by maxime mercier in ue5-main branch]
2023-06-05 10:03:18 -04:00
zach rammell
2a2d32bf63 Fix truncation warnings in GameProjectGeneration module
#jira UE-169486
#rb trivial
#preflight 636aa44e63037c10265d4c40

[CL 23033557 by zach rammell in ue5-main branch]
2022-11-08 13:52:08 -05:00
Robert Millar
1313cc865d FNames containing asset paths are deprecated. FSoftObjectPath or FTopLevelAssetPath should be used instead.
Fixups for class features in the editor.

#jira UE-161932
#rb ben.zeigler
#preflight 631a55942b7fe03eb6c27d74

[CL 21903450 by Robert Millar in ue5-main branch]
2022-09-08 17:06:00 -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
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
7ad238a806 AssetRegistry includes (Engine/Source): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270509a220f89f0ad573030

[CL 20016982 by Matt Peters in ue5-main branch]
2022-05-02 18:06:48 -04:00
robert seiver
550b1e2f95 Updated error messages when no compiler/IDE was found when opening or creating C++ projects/files
#jira UE-146441
#review-19426155 @Brandon.Schaefer
#rb Brandon.Schaefer
#preflight none

[CL 19426153 by robert seiver in ue5-main branch]
2022-03-17 16:17:09 -04:00
leon huang
0193ffe8d3 Fix for CIS warnings for localization duplicate keys. Fixes simply involve changing one of the colliding localization keys.
#rnx
	#rb: Vincent.Gauthier
	#jira: UE-143620
	#preflight: 6222489d2f7d78332e121416
	#lockdown Mitchell.Wilson

#ROBOMERGE-AUTHOR: leon.huang
#ROBOMERGE-SOURCE: CL 19272838 in //UE5/Release-5.0/... via CL 19273134
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19275063 by leon huang in ue5-main branch]
2022-03-04 16:10:23 -05:00
Brandon Schaefer
423622c79a Fix compiler error
#jira none
#rb none

[CL 17255031 by Brandon Schaefer in ue5-main branch]
2021-08-20 18:33:43 -04:00
Brandon Schaefer
bd0cd1b6f5 Add a button to disable the current IDE if an IDE is not required to compile for the Engine.
This is mainly for Linux only, as the toolchain required to setup Linux comes with the compiler needed. So an IDE is not required

#jira UE-122193
#rb Michael.Sartain, Robert.Seiver

[CL 17254780 by Brandon Schaefer in ue5-main branch]
2021-08-20 18:19:39 -04:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
Tim Smith
bc337f9133 Add the ability to enable re-instancing via project settings. Old setting still supported.
Add the ability to enable auto compile when adding new C++ classes.
Fixed user feedback issues when adding new C++ classes.

#rb joe.kirchoff
#rnx
#jira UE-116958
#preflight 60cb2e884ce02c0001d278c1

[CL 16703582 by Tim Smith in ue5-main branch]
2021-06-17 08:46:37 -04:00
Phillip Kavan
dfa32e9708 Extends the class viewer module to support multiple custom class filters along with an optional associated view option flag.
Additional changes:
- Deprecates the previous method for specifying a singular custom class viewer filter and updates all existing occurrences of this pattern in engine code.
- Extends the property editor utilities interface to expose custom class filter(s) that can be applied to the class picker widget used for editing class property values.
- Adds an implementation of this interface to SDetailsView such that additional class filter(s) can now be configured to be applied to all underlying class property nodes.

#jira UE-108316
#rb Lauren.Barnes
#preflight 60c2102e8ae8960001110d50

[CL 16623084 by Phillip Kavan in ue5-main branch]
2021-06-10 10:31:37 -04:00
Lauren Barnes
d7833955b2 Changing the warning to use SWarningOrErrorBox
#jira UE-115664
#rb trvial
#preflight 609d8690423c960001b41133

[CL 16319100 by Lauren Barnes in ue5-main branch]
2021-05-13 17:11:19 -04:00
lauren barnes
072d8cbdd6 Updating SWizard to new styles - impacts Profile Wizard, Niagara New Asset wizards, and New Class Dialog. New Class Dialog updated to new style guidelines/using new widget types
#jira UETOOL-2453
#rb Louise.Rasmussen
#lockdown Simon.Tourangeau
#preflight 606e06cf7ce9ca0001968135

#ROBOMERGE-SOURCE: CL 15945506 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)

[CL 15950032 by lauren barnes in ue5-main branch]
2021-04-07 22:11:49 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
rex hill
4511728f09 Tab manager filter can now block tab spawn
#rb chris.gagnon


#ROBOMERGE-OWNER: rex.hill
#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 11604269 via CL 11604360 via CL 11604439
#ROBOMERGE-BOT: (v656-11643781)

[CL 11743509 by rex hill in Main branch]
2020-02-28 11:30:46 -05:00
marc audy
6311349f9c Move SClassViewer.h to public so it can be properly included without long pathing including Private folders
#jira
#rb Chris.Gagnon
#rnx


#ROBOMERGE-SOURCE: CL 11206205 via CL 11206206
#ROBOMERGE-BOT: (v643-11205221)

[CL 11206208 by marc audy in Main branch]
2020-02-03 10:28:39 -05:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00