Commit Graph

245 Commits

Author SHA1 Message Date
patrick enfedaque
dc80a8c0c2 Add support for Play in new window to the Play From Here actor flow
#rb jeanfrancois.dube
#preflight 60bf856a6c7ab70001086b9f


#ROBOMERGE-SOURCE: CL 16588669
#ROBOMERGE-BOT: (v828-16531559)

[CL 16588685 by patrick enfedaque in ue5-main branch]
2021-06-08 12:38:24 -04:00
patrick enfedaque
15495ca467 PlayFromHere: An actor can now be source of PlayFromHere (Location,Rotation) and get notified (bCanPlayFromHere, OnPlayFromHere)
#rb jeanfrancois.dube
#preflight 60b91e176c445400019a660c


#ROBOMERGE-SOURCE: CL 16550798
#ROBOMERGE-BOT: (v828-16531559)

[CL 16550867 by patrick enfedaque in ue5-main branch]
2021-06-03 15:03:45 -04:00
Jamie Dale
2b4fd7e927 Ensure GizmoManipulationStarted and GizmoManipulationStopped are called in pairs
The editor viewport would previously skip the GizmoManipulationStopped call if nothing had actually moved, but this causes an imbalance in the APIs which call NotifyMovementStarted and NotifyMovementEnded.

GizmoManipulationStopped is now always called, but with an extra argument saying if anything actually moved.

#rb Brooke.Hubert
#preflight 60aeb2de1db8a70001cbe077

[CL 16537833 by Jamie Dale in ue5-main branch]
2021-06-02 15:11:28 -04:00
luc eygasier
dfc915a297 Adds "Show Actor History" contextual action.
#jira UETOOL-3331
#rb Sebastien.Lussier, Patrick.Enfedaque

#changelist validated

[CL 16251595 by luc eygasier in ue5-main branch]
2021-05-10 14:30:23 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
JeanFrancois Dube
d6992606b4 Added actor context menu "Copy Actor File Path" to copy the file path (level file or actor file) for the current selection.
#rb sebastien.lussier

[CL 16100968 by JeanFrancois Dube in ue5-main branch]
2021-04-22 20:25:54 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
jamie dale
ef31a91045 Removed finalizer from FTypedElementViewportInteractionCustomization::GetElementsToMove
This was to optimize selecting groups, but we've handled this case elsewhere by just skipping the group logic if the group is already in the list of things that we've processed. This applies that approach to getting the elements to move.

#rb Brooke.Hubert

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

[CL 15890762 by jamie dale in ue5-main branch]
2021-04-01 12:41:54 -04:00
graham wihlidal
700a73bf55 Editor/UX work for proper Nanite editor view modes with console override; rendering code will come later. (currently disabled with NANITE_VIEW_MODES tag)
#rb matt.kuhlenschmidt
#fyi brian.karis, michal.valient

[CL 15755745 by graham wihlidal in ue5-main branch]
2021-03-21 04:07:16 -04:00
christopher waters
55bba52e44 Adding SM6 preview platform.
- Adjusting the Editor handling of preview platforms to not assume SM5 is the running feature level.
- Adding "bPreviewFeatureLevelIsMax" to user settings to signal if the last saved Preview Feature Level was the maximum supported by the RHI, aka the default. If this is true on load, we set the Preview Feature Level to the max supported. This is to allow situations were we go from DX12+SM6 to DX11+SM5 and back without forcing the user to change the Preview Feature Level.
- Preventing unsupported feature levels from being previewed.
- Fixing the preview button being enabled for the default feature level.

#jira none
#rb arciel.rekman, simon.tovey, josh.adams

[CL 15729038 by christopher waters in ue5-main branch]
2021-03-17 15:42:48 -04:00
patrick enfedaque
e2e7910793 WorldPartition: No need to save on New Map anymore
#jira UE-108218

#rb francis.hurteau, jeanfrancois.dube

#ROBOMERGE-SOURCE: CL 15655138 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15655151 by patrick enfedaque in ue5-main branch]
2021-03-09 12:01:17 -04:00
jamie dale
0f54e84773 Minimal context menu for static mesh instance elements
Currently only delete and delta transform are enabled/available

#rb Brooke.Hubert

#ROBOMERGE-SOURCE: CL 15631470 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v777-15581079)

[CL 15631487 by jamie dale in ue5-main branch]
2021-03-05 20:06:48 -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
Max Chen
9b73c0f152 Editor: Change to SLevelViewport
#jira UE-108941
#rb brooke.hubert

[CL 15520489 by Max Chen in ue5-main branch]
2021-02-24 16:03:09 -04:00
jamie dale
c922ceb04e Optimized GetElementsToMove for large group actors
Each group actor is now only enumerated once at the end, rather than once for each selected actor within a group

#jira UE-108343
#rb Brooke.Hubert

#ROBOMERGE-SOURCE: CL 15475127 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15475131 by jamie dale in ue5-main branch]
2021-02-19 15:51:43 -04:00
Zousar Shaker
3b4c8fc1c5 Automated wrapped object pointer upgrade for Engine + ShooterGame + ShooterGame referenced plugins
#rb none

[CL 15224650 by Zousar Shaker in ue5-main branch]
2021-01-27 17:40:25 -04:00
Matt Kuhlenschmidt
24fd139385 Fixed up locations making one off thumbnail pools and converted them to use the shared thumbnail pool.
[CL 15211295 by Matt Kuhlenschmidt in ue5-main branch]
2021-01-26 17:21:08 -04:00
Louise Rasmussen
c89584e7cb Place Actors (aka Placement Mode) Quick Toolbar Menu
#JIRA UETOOL-2864

#rb Lauren.Barnes

[CL 15168528 by Louise Rasmussen in ue5-main branch]
2021-01-22 19:32:07 -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
7f000b5261 Adding forward declaration to fix non-unity compiles
#rb trivial

[CL 15049126 by Lauren Barnes in ue5-main branch]
2021-01-12 11:27:57 -04:00
Jamie Dale
3f3e0e7a67 Updated actor property editing to be typed element based
SActorDetails now operates on a given UTypedElementSelectionSet (removing its dependence on the global selection), and also operates based on the list of selected top-level elements rather than the selected actors.

UTypedElementDetailsInterface provides the interface needed for an element to be used with the details panel, with ITypedElementDetailsObject being the underlying glue object.
The ITypedElementDetailsObject instance will exist as long as the details panel is using it, so gives a lifetime to potentially synthesized UObject instances that are created purely for editing (eg, on instances).

This change removes almost all direct use of UpdateFloatingPropertyWindowsFromActorList, with only a single use-case in the reference viewer remaining.
Most code was already using UpdateFloatingPropertyWindows anyway, which now emits an extra OnElementSelectionChanged event in addition to its previous OnActorSelectionChanged event.
UpdateFloatingPropertyWindowsFromActorList now only emits an OnOverridePropertyEditorSelection event and no longer emits an OnActorSelectionChanged event.
SActorDetails is updated from both OnElementSelectionChanged and OnOverridePropertyEditorSelection, with the OnActorSelectionChanged event remaining for backwards compatability with existing code.

#jira
#rb Chris.Gagnon, Brooke.Hubert

[CL 15037524 by Jamie Dale in ue5-main branch]
2021-01-11 11:14:52 -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
Phillip Kavan
073b8b2164 Rolling back CL 14886456 for M4 as it introduced new regressions with sprite visibility.
I'm going to narrow the scope of the fix for UE-54964 instead in an additional CL to follow.

#rnx
#rb Chris.Gagnon
#jira UE-54964, UE-104342

[CL 14942194 by Phillip Kavan in ue5-main branch]
2020-12-16 17:08:51 -04:00
Phillip Kavan
03a1ed3d52 Revised sprite category visibility to be localized to the scene/level view logic where it is being used.
These changes allow a Blueprint class that is based on an abstract native parent class to dynamically add new sprite categories inherited from the native parent when a level is loaded with one or more instances of the Blueprint class. Previously, this could crash the editor due to a global mapping table that was not being updated to include new sprite category visibility commands created in that case.

#jira UE-54964
#rb Chris.Gagnon

[CL 14886456 by Phillip Kavan in ue5-main branch]
2020-12-09 02:22:32 -04:00
Jamie Dale
c54ffb854e Ported the actor snap/align functions to use typed elements internally
The following options from the actor viewport menu are now elemenent based:
 - Snap/Align (excluding layers)
 - Delta Transform
 - Mirror X/Y/Z

#rb Brooke.Hubert

[CL 14830849 by Jamie Dale in ue5-main branch]
2020-12-01 16:57:10 -04:00