Commit Graph

136 Commits

Author SHA1 Message Date
Yafes Sahin
092180414c Make "Navigate to Asset in the Contentbrowser" more findable by modifying to comment / documentation of the function SyncBrowserToObjects
#rb Julien.StJean
#jira nojira

[CL 35936395 by Yafes Sahin in ue5-main branch]
2024-08-30 16:25:58 -04:00
dario mazzanti
730008791e [Backout] - CL35742520
[FYI] Dario.Mazzanti
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL35741446
[FYI] Dario.Mazzanti
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL35710065

Re-submitting after updating FortniteGame source files which were using the now deprecated EditorEngine "ReplaceActors" function.
Now they are calling the static function from UEditorActorSubsystem


Original CL Desc
-----------------------------------------------------------------
[Backout] - CL35706318 - CIS Editor Error
#rnx
[FYI] Dario.Mazzanti
Original CL Desc
-----------------------------------------------------------------
[Actor Actions Usability] Move code related to the "Convert Actor" and "Replace Actor" actions to UEditorActorSubystem

- Deprecates 8 functions from EditorEngine, and moves them to EditorActorSubsystem

- Moves some other locally defined functions and types from EditorEngine.cpp to a namespace in EditorActorSubsystem.cpp

- Deprecated functions body just call the 8 functions newly added to  EditorActorSubsystem

- There are several places in the Engine where the deprecated are replaces with the new ones.

#jira UE-221641
#rb Julien.StJean

[CL 35743706 by dario mazzanti in ue5-main branch]
2024-08-22 12:05:48 -04:00
dario mazzanti
0c3edafb0e [Backout] - CL35741446
[FYI] Dario.Mazzanti
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL35710065

Re-submitting after updating FortniteGame source files which were using the now deprecated EditorEngine "ReplaceActors" function.
Now they are calling the static function from UEditorActorSubsystem


Original CL Desc
-----------------------------------------------------------------
[Backout] - CL35706318 - CIS Editor Error
#rnx
[FYI] Dario.Mazzanti
Original CL Desc
-----------------------------------------------------------------
[Actor Actions Usability] Move code related to the "Convert Actor" and "Replace Actor" actions to UEditorActorSubystem

- Deprecates 8 functions from EditorEngine, and moves them to EditorActorSubsystem

- Moves some other locally defined functions and types from EditorEngine.cpp to a namespace in EditorActorSubsystem.cpp

- Deprecated functions body just call the 8 functions newly added to  EditorActorSubsystem

- There are several places in the Engine where the deprecated are replaces with the new ones.

#jira UE-221641
#rb Julien.StJean

[CL 35742553 by dario mazzanti in ue5-main branch]
2024-08-22 11:37:25 -04:00
dario mazzanti
c979a8f3ba [Backout] - CL35710065
Re-submitting after updating FortniteGame source files which were using the now deprecated EditorEngine "ReplaceActors" function.
Now they are calling the static function from UEditorActorSubsystem


Original CL Desc
-----------------------------------------------------------------
[Backout] - CL35706318 - CIS Editor Error
#rnx
[FYI] Dario.Mazzanti
Original CL Desc
-----------------------------------------------------------------
[Actor Actions Usability] Move code related to the "Convert Actor" and "Replace Actor" actions to UEditorActorSubystem

- Deprecates 8 functions from EditorEngine, and moves them to EditorActorSubsystem

- Moves some other locally defined functions and types from EditorEngine.cpp to a namespace in EditorActorSubsystem.cpp

- Deprecated functions body just call the 8 functions newly added to  EditorActorSubsystem

- There are several places in the Engine where the deprecated are replaces with the new ones.

#jira UE-221641
#rb Julien.StJean

[CL 35741454 by dario mazzanti in ue5-main branch]
2024-08-22 11:12:55 -04:00
alex kahn
bc9ffb56e0 [Backout] - CL35706318 - CIS Editor Error
#rnx
[FYI] Dario.Mazzanti
Original CL Desc
-----------------------------------------------------------------
[Actor Actions Usability] Move code related to the "Convert Actor" and "Replace Actor" actions to UEditorActorSubystem

- Deprecates 8 functions from EditorEngine, and moves them to EditorActorSubsystem

- Moves some other locally defined functions and types from EditorEngine.cpp to a namespace in EditorActorSubsystem.cpp

- Deprecated functions body just call the 8 functions newly added to  EditorActorSubsystem

- There are several places in the Engine where the deprecated are replaces with the new ones.

#jira UE-221641
#rb Julien.StJean

[CL 35710067 by alex kahn in ue5-main branch]
2024-08-21 13:32:13 -04:00
dario mazzanti
f495bf36a5 [Actor Actions Usability] Move code related to the "Convert Actor" and "Replace Actor" actions to UEditorActorSubystem
- Deprecates 8 functions from EditorEngine, and moves them to EditorActorSubsystem

- Moves some other locally defined functions and types from EditorEngine.cpp to a namespace in EditorActorSubsystem.cpp

- Deprecated functions body just call the 8 functions newly added to  EditorActorSubsystem

- There are several places in the Engine where the deprecated are replaces with the new ones.

#jira UE-221641
#rb Julien.StJean

[CL 35706329 by dario mazzanti in ue5-main branch]
2024-08-21 12:26:28 -04:00
jake burga
4b4fa043c0 Fix EditorDialogLibrary.cpp ObjectDialogue popup: Use "Preferred Work Area" rather than "Primary Work Area" to avoid issues where a dialog may try and open on the wrong monitor (eg, a laptop monitor that is turned off)
#rb aditya.ravichandran, Jamie.Dale
#rnx

[CL 35379002 by jake burga in ue5-main branch]
2024-08-07 15:49:51 -04:00
jamie dale
d730569735 Moved FEditorPythonExecuter to PythonScriptPlugin so that it can understand Python directly
* It will now log an error if the Python script fails execution (to match the commandlet behavior).
    * This error can be made fatal by passing -ScriptErrorsAreFatal on the command line.
* It will now use a standard async task notification, rather than its own custom UI.
* It will now defer starting script execution until IPythonScriptPlugin::OnPythonInitialized has run.

[FYI] Brooke.Hubert

[CL 34717971 by jamie dale in ue5-main branch]
2024-06-27 14:43:10 -04:00
dan oconnor
51d4d966ad Added GetPackageForObject, a function for editor scripts to get the package, principal use is to reload packages
#rb thales.sabino

[CL 33463666 by dan oconnor in ue5-main branch]
2024-05-06 14:20:49 -04:00
sebastien lussier
02a0620a4d MergeActor - 1st pass cleaning up include files in order to avoid rebuilding the whole engine when editing merge actor settings
#rb JeanFrancois.Dube

[CL 33209699 by sebastien lussier in ue5-main branch]
2024-04-24 15:24:31 -04:00
jamie dale
60d8d13f0d Fixed improper use of FPackageName::TryConvertFilenameToLongPackageName
#rb aditya.ravichandran
#rnx

[CL 32981843 by jamie dale in ue5-main branch]
2024-04-15 21:03:32 -04:00
jake burga
15ff8ff431 Optionally allow resizing of ObjectDetailsViewDialog. Apply MinSize to the SWindow. This ultimately allows a resizable dialog box with a scroll bar set to the min size.
If resizing is allowed, set the initial "ClientSize" to the MinSize so that the window knows how to center itself when it opens. Otherwise, don't set the client size since it will use the "AutoSizing" to determine how to center itself.

[REVIEW] [at]robert.rouhani [at]charlie.huguenard
#rb Jamie.Dale
#tests PIE

#changelist validated
#virtualized

[CL 31240978 by jake burga in ue5-main branch]
2024-02-06 19:26:49 -05:00
steve robb
6d5b974842 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30735396 by steve robb in ue5-main branch]
2024-01-19 19:41:56 -05:00
brooke hubert
0e92785e41 Remove unused private include path from EditorScriptingUtilities
#rnx
#Jira UE-194143
#rb trivial

[CL 27732860 by brooke hubert in ue5-main branch]
2023-09-08 18:44:31 -04:00
dan oconnor
a831e8fdd3 Add an editor utility function for getting the asset 'root' directory - e.g. /Game/ in most projects, otherwise $ProjectName in uefnprojects
#jira
#rb Dave.Belanger

[CL 27322477 by dan oconnor in ue5-main branch]
2023-08-23 17:32:47 -04:00
jamie dale
e1575ff4a2 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 26322954 by jamie dale in ue5-main branch]
2023-06-29 14:57:59 -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