Commit Graph

945 Commits

Author SHA1 Message Date
graham wihlidal
1c9686063e Implement rendering support for Nanite editor view modes - overview isn't implemented yet, and material/scene min/max/delta Z needs to be reimplemented in a generic way.
#rb brian.karis
#fyi rune.stubbe, michal.valient

[CL 15786770 by graham wihlidal in ue5-main branch]
2021-03-23 18:34:37 -04:00
brooke hubert
04c41e993f Components which are not moveable should not allow viewport interactions with gizmos.
#Jira UE-109811
#preflight 60591b7cb558c40001f80f4c
#rb jamie.dale

#ROBOMERGE-SOURCE: CL 15775510 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15785982 by brooke hubert in ue5-main branch]
2021-03-23 17:59:02 -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
jamie dale
bdb2748f10 Implemented common "Duplicate" operation using typed elements
- Moved the logic for managing the offset when pasting/duplicating out of the internal Paste/DuplicateActors implementation, and instead pass the desired offset into the duplicate functions.
 - Made the function for getting the list of elements to operate on for a common action more generic, and added helper functions to delete and duplicate the current selection set.
 - Added a CanDuplicateElements function to UTypedElementWorldInterface.
 - Implemented duplication offset for static mesh instances.

#rb Brooke.Hubert

#ROBOMERGE-SOURCE: CL 15750144 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15753927 by jamie dale in ue5-main branch]
2021-03-20 04:30:12 -04:00
jamie dale
b462e98821 Fixed null component access
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 15748762 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15752023 by jamie dale in ue5-main branch]
2021-03-19 18:20:01 -04:00
lauren barnes
22506ad089 Moving level instance section of the level editor context menu below Actor Actions, added section heading for Merge Actors
#jira none
#rb Patrick.Enfedaque

#ROBOMERGE-SOURCE: CL 15748025 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15751989 by lauren barnes in ue5-main branch]
2021-03-19 18:18:42 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -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
Cody Albert
40010ac248 Fixed issue where transform changes were applied twice to attached actors when selecting both the actor and it's parent.
#rb brooke.hubert

[CL 15701353 by Cody Albert in ue5-main branch]
2021-03-15 18:39:08 -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
justin hare
7e312b08da Preventing an issue where users could partially convert collections of actor types to Blueprints, including unconvertible types like Brush/BSPs. We now detect potential problems and give them the option to proceed without the unconvertible actors.
#jira UE-106937

[CL 15579117 by justin hare in ue5-main branch]
2021-03-03 00:42:58 -04:00
danny couture
adb002987c Avoid having the cursor decoration follow you everywhere on the desktop for the entire duration of a drop operation that might require a long async compilation
#rb Ryan.Schmidt
#robomerge Release-5.0-EarlyAccess

[CL 15537383 by danny couture in ue5-main branch]
2021-02-25 22:00:31 -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
b2caa4eb19 Allow the detail view header to prioritize showing actors or components, while still showing all objects as a fallback
#rb Brooke.Hubert

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

[CL 15502662 by jamie dale in ue5-main branch]
2021-02-23 14:04:08 -04:00
jamie dale
107f7b0f0c Audited use of FDetailsViewArgs::ObjectsUseNameArea
CL# 15481362 changed the behavior of ObjectsUseNameArea so that the object name was visible, and upon auditing the current use of ObjectsUseNameArea it was found that all but a few cases likely intended to use HideNameArea instead.

Breaking: This change also renames FDetailsViewArgs::bShowActorLabel to FDetailsViewArgs::bShowObjectLabel to reflect what it actually does.

#rb Brooke.Hubert

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

[CL 15496134 by jamie dale in ue5-main branch]
2021-02-22 19:45:57 -04:00
jeanfrancois dube
34d2561852 Don't show the change level viewport widget for partitioned worlds.
#rb patrick.enfedaque

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

[CL 15488747 by jeanfrancois dube in ue5-main branch]
2021-02-22 09:19:22 -04:00
jamie dale
82ca162aa8 Initial support for manipulating Static Mesh instances directly in the editor
Adds support for selection, gizmo manipulation, property editing, duplication, deletion, and undo/redo for Static Mesh instances within the main Level Editor, without having to enter an alternative editing mode.

Note: This is currently disabled via UE_ENABLE_SMINSTANCE_ELEMENTS

#rb Brooke.Hubert

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

[CL 15481376 by jamie dale in ue5-main branch]
2021-02-19 22:02: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
jamie dale
5981e8f54a Cached the elements to manipulate until the selection set actually changes
This avoids the calculation being made repeatedly when nothing has changed (eg, it used to be cached 3-4 times during a selection change event), as well as not needing to calculate it each frame (eg, for the gizmo visibility, or during a drag operation)

#jira UE-108343
#rb Brooke.Hubert

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

[CL 15471421 by jamie dale in ue5-main branch]
2021-02-19 09:37:15 -04:00
louise rasmussen
a21c23470c Create Menu Add Search for top Level Window, + misc cleanup of redundant menu rows.
#rb trivial

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

[CL 15466474 by louise rasmussen in ue5-main branch]
2021-02-18 20:47:30 -04:00
brooke hubert
17f0e31526 Placement Mode Single place tool improvements:
* Tweak after placement in world and local space using standard level editor gizmos.
* Removed Single place tool settings. Since we're using the TRS gizmos, these settings are unnecessary.
* Moved cycle through palette to shift + right click to match other viewport functions (i.e. cycling static mesh previews).
* Placement mode now inherits from default ed mode, so we will get the new gizmos as they come online.
* Fixed a bug in the select tool where the input was never making it back to the viewport for handling.
* Fixed a bug in the ITF Editor hooks where the mouse capture was incorrectly reporting and eating the input from the viewport.

#Jira UE-107395
[at]jamie.dale

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

[CL 15466468 by brooke hubert in ue5-main branch]
2021-02-18 20:47:20 -04:00
jamie dale
e5fda022c1 Fixed the actor details panel not refreshing correctly when objects were re-instanced (eg, from a Blueprint compile)
#rb Brooke.Hubert

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

[CL 15464566 by jamie dale in ue5-main branch]
2021-02-18 18:54:03 -04:00
patrick enfedaque
4dac148d85 Wrap bLockLocation into Setter and virtual Getter
#rb richard.malo

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

[CL 15464562 by patrick enfedaque in ue5-main branch]
2021-02-18 18:53:52 -04:00