Commit Graph

19 Commits

Author SHA1 Message Date
richard malo
6b9e568792 Fixed WorldOutliner force refreshing for nothing during PIE.
- Avoid broadcasting OnActorEditorContextClientChanged for game worlds
- Prevent UActorEditorContextSubsystem from broacasting ActorEditorContextSubsystemChanged when running Game/PIE.
#rb patrick.enfedaque
#preflight 647a2be0f40c6565433ebde8

[CL 25789367 by richard malo in ue5-main branch]
2023-06-05 07:08:49 -04:00
patrick enfedaque
924ce2e2c5 ActorEditorContext:
- Allow switching Current level from context in WP World
- Unify display of Current Level when editing Level Instance (WP and non-WP)
- Level Instance Mode will lock/unlock selection and render postprocess based on current level being the Level Instance level or not.

#rb richard.malo, jeanfrancois.dube
#preflight 647501192e05bcc330bd4059
#rnx

[CL 25674513 by patrick enfedaque in ue5-main branch]
2023-05-30 06:44:15 -04:00
manugulus
451ae0de94 PR #10303 :FEditorDelegates::OnLightingBuildSucceeded delegate is removed correctly
Previously causes the editor to crash when used multiple times and when the prev level is unloaded.

(Contributed by manugulus)

#preflight 6425eaa098345264765121ae
#jira UE-181831

[CL 24859570 by manugulus in ue5-main branch]
2023-03-30 16:18:32 -04:00
daren cheng
f7e3bb5c18 Expose multiple viewport-related editor behaviors to editor utility widgets.
#jira UE-76276
#rb Zach Rammell
#preflight 636849cfed07daaa9ac29226

[CL 23014324 by daren cheng in ue5-main branch]
2022-11-07 13:33:27 -05:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -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
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
Richard Malo
dffb5b9557 Second pass on Editor Context
#jira UE-150705
#rb patrick.enfedaque
#preflight 626fe655645c64f3a2426e06

[CL 20008791 by Richard Malo in ue5-main branch]
2022-05-02 11:00:12 -04:00
Patrick Enfedaque
73f3cb29a4 LevelInstance: Extract ILevelInstanceInterface, FLevelInstanceActorImpl from ALevelInstance to allow LevelInstance implementation in existing AActor class hierarchies
#rb richard.malo, jeanfrancois.dube
#preflight 62420c81dc6183e3f5d47b90
#rnx

[CL 19541016 by Patrick Enfedaque in ue5-main branch]
2022-03-29 09:19:22 -04:00
Richard Malo
296dd8a20c - Actor Editor Context : System can register themselves to the ActorEditorContextSubsystem and provide the necessary to apply their context value to newly created actors and optionally show a widget in the viewport.
- Refactored viewport's current level combobox and added "current data layers" in data layer outliner and "current folder" in world outliner to use this system.
- Can optionally be hidden from viewport using advanced flag in ULevelEditorViewportSettings.
#robomerge FNNC
#rb patrick.enfedaque
#preflight 6227604a7077eb04cf696c33

[CL 19302351 by Richard Malo in ue5-main branch]
2022-03-08 09:40:27 -05:00
zach rammell
b7f26910c3 [LevelEditorSubsystem] Add blueprint function to get the currently piloted actor/camera
#jira UE-133986
#rb [at]Patrick.Laflamme [at]Max.Chen
#preflight 61fd7e6d163df1051e55b445

#ROBOMERGE-AUTHOR: zach.rammell
#ROBOMERGE-SOURCE: CL 18872651 via CL 18872680 via CL 18872723 via CL 18875003 via CL 18875438
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18875464 by zach rammell in ue5-main branch]
2022-02-04 17:41:47 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
Max Chen
eaa52d8bf2 Editor: Added utility functions for viewports
GetViewports, GetActiveViewport, SetAllowsCinematicControl, GetAllowsCinematicControl.

PilotLevelActor, EjectPilotLevelActor, EditorSetGameView, EditorGetGameView now take an optional config key to indicate which viewport should be set/get. Default is none, which acts on the active viewport (no change in existing behavior)

#jira UE-108941
#rb brooke.hubert

[CL 15522119 by Max Chen in ue5-main branch]
2021-02-24 17:53:02 -04:00
Patrick Enfedaque
a682927966 LevelEditorSubsystem: Expose Request End Play and IsPlayInEditor
#rb patrick.boutot
#fyi sjoerd.dejong

[CL 15136700 by Patrick Enfedaque in ue5-main branch]
2021-01-19 12:29:58 -04:00
Lauren Barnes
94aa16c5ac Adding command handling for FToolUIActions. There is now an in-viewport property menu that can be enabled by Editor.EnableInViewportMenu in the console, and then pressing Tab when a supported actor (currently any light actor) is selected.
#rb Rex.Hill
#jira UETOOL-2698

[CL 15036864 by Lauren Barnes in ue5-main branch]
2021-01-11 09:19:43 -04:00
aditya ravichandran
c7bcfa4579 Added a GetCurrentLevel function to scripts
#rb lauren.barnes

#fyi cody.albert

[CL 13976573 by aditya ravichandran in ue5-main branch]
2020-07-30 12:22:57 -04:00
aditya ravichandran
9c39dd7a7f Editor Scripting Utilities Refactor:
Moved functionality from the EditorLevelLibrary into the LevelEditorSubsystem, UnrealEditorSubsystem, EditorActorSubsystem and StaticMeshEditorSubsystem

#jira UE-77334

#rb lauren.barnes, francis.hurteau, brooke.hubert

#fyi chris.gagnon

[CL 13934034 by aditya ravichandran in ue5-main branch]
2020-07-23 13:29:05 -04:00