Commit Graph

81 Commits

Author SHA1 Message Date
semion piskarev
f3f45f2115 Editor: Support using non-actor factories for dragging things into the level, support non-actor drag preview objects, and fix some "recently placed" category handling to handle custom placed items.
#rb brooke.hubert, logan.buchy
#jira UE-201096

[CL 30305072 by semion piskarev in ue5-main branch]
2023-12-13 16:33:42 -05:00
benoit gadreau
268d1c4a21 New TRS Gizmo: support for parent space transformations (note that this is only exposed/available if the new trs gizmos are enabled).
- added ECoordSystem::COORD_Parent
    - the mode manager's GetCustomDrawingCoordinateSystem overrides calculates the parent space transformation if required.

For the moment, there's no need to add anything at the ITF level, as everything is redirected to the VPC/Mode Manager thru the UEditorTransformProxy.
If the UTransformGizmo were to manage it locally, we'd probably have to add something similar to UCombinedTransformGizmo::bUseContextCoordinateSystem to make the TransformProxy responsible for managing the "local/parent" coordinate system.

#jira UE-197757
#rb brooke.hubert

[CL 28836838 by benoit gadreau in ue5-main branch]
2023-10-17 08:51:02 -04:00
sebastian arleryd
12a1ed500f Fix issue where "StandaloneToolkit" appeared multiple times in the UEFN main menu
Turns out "StandaloneToolkit" is a placeholder that shouldn't even be in the menus. Fixing this by, at tab-spawner registration, disabling the generation of a main-menu entry.

[CL 27101114 by sebastian arleryd in ue5-main branch]
2023-08-15 09:43:27 -04:00
logan buchy
87012153c4 Remove TypedElementViewportInteractionGizmoManipulation from TypedElement ViewportInteraction
* The same functionality is provided by the GizmoManipulationStarted and GizmoManipulationStopped.
* This simplifies the interface and removes the bespoke parameter added to branch between when manipulation starts and when it is ongoing to avoid expensive rendering invalidations
* There are some clients of TypedElementViewportInteractionGizmoManipulation::ApplyDeltaToActor, this CL does not address usage of this function.  Doing so will require further adoption of TypedElements among those systems

#jira UE-187188
#rb Brooke.Hubert

[CL 25964466 by logan buchy in ue5-main branch]
2023-06-13 17:28:30 -04:00
zach bethel
a9a5fa39db Deprecated non-command list variant of InitResource and UpdateResource. Patched the engine to pass command lists through. Follow-up CL's will refactor individual locations to thread command lists through the various callstacks, but that was done very judiciously in this CL to reduce risk.
#rb mihnea.balta, christopher.waters

[CL 25953623 by zach bethel in ue5-main branch]
2023-06-13 11:46:40 -04:00
bryan sefcik
da92084a12 Optimized out more private modules includes and dependencies.
#preflight 64627c382965f6ea8ea83bd6

[CL 25479683 by bryan sefcik in ue5-main branch]
2023-05-15 16:26:12 -04:00
jason hoerner
2a816e5ad4 Further optimization for moving actor with many static mesh components. Only invalidate the static lighting cache at the start of a move operation. We don't invalidate the cache in "GizmoManipulationStarted", because the user can click on a handle (calling the start function) without actually moving, which should have no effect. So a flag is used to detect the first time "GizmoManipulationDeltaUpdate" is called, and subsequent calls can skip repeatedly invalidating the lighting cache.
With this fix, on my machine, the cost of moving a blueprint with 1000 items drops from 45 ms to 7 ms.  Baseline tick is 8 ms (120 fps) when idling, so the results while moving improve from 19 fps to 65 fps.  The remaining time is mostly split between physics and navigation update.  Invalidating the static lighting cache is so costly because it both invalidates the render state of every item, and notifies packages of the change.

#jira UE-147154
#rnx
#rb jamie.dale
#preflight 63ff4748e32cdb7d9aacab16

[CL 25050136 by jason hoerner in ue5-main branch]
2023-04-14 17:02:21 -04:00
zach rammell
9d13ddaedc Allow asset factories to be registered at runtime
Also expand usage of placement system to ensure these factories are used in more places

#rb brooke.hubert
#preflight 642cad951d19c0312aec3e7a

[CL 24938100 by zach rammell in ue5-main branch]
2023-04-05 18:00:20 -04:00
aditya ravichandran
2a47203660 Add the ability for modes to add a secondary toolbar below the Level Editor toolbar, currently used by the modeling mode
#jira UE-175474
#preflight 63d951357a39a18021eb4ad1
#rb lauren.barnes, semion.piskarev

[CL 23938896 by aditya ravichandran in ue5-main branch]
2023-01-31 17:06:24 -05:00
christopher waters
f8abec7a8e Material header dependency cleanup
- Removing MaterialAttributeDefinitionMap and MaterialRenderProxy from MaterialShared.h
- Removing MaterialShared from Material.h

#preflight 639cbb35776b61ba3b82f03e

[CL 23541603 by christopher waters in ue5-main branch]
2022-12-16 16:24:02 -05:00
bryan sefcik
f58e75e476 Pass 2 on cleaning up build.cs files.
#jira
#preflight 631b7a79304480f8f8b48580

[CL 21931324 by bryan sefcik in ue5-main branch]
2022-09-09 19:41:38 -04:00
bryan sefcik
0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03:03 -04:00
bryan sefcik
8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00
max chen
6450d4a229 Remove Matinee (1/2)
This change completely removes Matinee from the codebase. The data types and runtime evaluation code are gone. The "InterpEdit" editor mode, asset factories, and other editor support for Matinee is gone. CameraAnims and their sequencer tracks are gone. FBX import/export for Matinee assets is gone.

#preflight 62d0591e562520a394bca1d1
#preflight 62d194f63c3df323904679c1
#jira UE-105313
#rb none

#ROBOMERGE-OWNER: max.chen
#ROBOMERGE-AUTHOR: ludovic.chabant
#ROBOMERGE-SOURCE: CL 21116312 via CL 21116339 via CL 21118051
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142481 by max chen in ue5-main branch]
2022-07-17 22:45:06 -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
brooke hubert
5b46ca629b Fix a crash when changing layout or viewport type in Level editor viewports and running various exec commands that used typed element common actions.
#preflight 625f1a14fd255ad9e2ee4664
#Jira UE-149401
#rb lauren.barnes
#lockdown jeanmichel.dignard, cristina.riveron

#ROBOMERGE-AUTHOR: brooke.hubert
#ROBOMERGE-SOURCE: CL 19848657 in //UE5/Release-5.0/... via CL 19853509
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19855245 by brooke hubert in ue5-main branch]
2022-04-21 16:28:19 -04:00
daren cheng
99592a0721 Widget Tool Palette Prototype.
Add Marquee & create widget tools.
Add framework for widget-based tools.

#preflight 62202c37123d7a7f69141278
#jira UETOOL-4564 UETOOL-4565
#rb Vincent.Gauthier

[CL 19248542 by daren cheng in ue5-main branch]
2022-03-03 14:01:42 -05:00
brooke hubert
e6db027123 Fix issue where the supplied actor factory was not making it through to the actor spawn in placement subsystem
#preflight 61e79b383778a195ded1f463
#Jira UE-139202
#rb julien.stjean

#ROBOMERGE-AUTHOR: brooke.hubert
#ROBOMERGE-SOURCE: CL 18661572 in //UE5/Release-5.0/... via CL 18661601 via CL 18661627
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18661657 by brooke hubert in ue5-main branch]
2022-01-19 13:50:04 -05:00
halfdan ingvarsson
b4171fa9e9 Fixes for non-unity builds.
#jira none
#preflight 61e78729f35b35a70f17ffcd

#ROBOMERGE-AUTHOR: halfdan.ingvarsson
#ROBOMERGE-SOURCE: CL 18654726 in //UE5/Release-5.0/... via CL 18654735 via CL 18654738
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18654744 by halfdan ingvarsson in ue5-main branch]
2022-01-18 22:56:16 -05:00
brooke hubert
40ee769f95 Properly hook up instance client manager in placement mode.
This fixes duplication crash.

#preflight 61ddb7fd0134bb26f3bdd989
#Jira UE-131054
#rb julien.stjean

#ROBOMERGE-AUTHOR: brooke.hubert
#ROBOMERGE-SOURCE: CL 18589986 in //UE5/Release-5.0/... via CL 18589994 via CL 18589996
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18590008 by brooke hubert in ue5-main branch]
2022-01-12 16:49:49 -05:00
julien stjean
23596ba9c7 Fixed code that depends on the selection order without a proper normalization of the selection set.
#jira UE-132003
#preflight 61b0d8b1c17a9a154abfe810
#rb Brooke.Hubert

#ROBOMERGE-AUTHOR: julien.stjean
#ROBOMERGE-SOURCE: CL 18431233 in //UE5/Release-5.0/... via CL 18435330
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435562 by julien stjean in ue5-release-engine-test branch]
2021-12-10 17:48:48 -05:00
julien stjean
6f120bb052 Fixing the SMInstanceElements rotating differently to an offseted pivot then a normal actor or component.
The issue was that weren't using the same pivot  and the same quaternion math for the rotation.

#jira UE-130496
#brooke.hubert
#preflight 61a83b83ad6629a51eac6537

#ROBOMERGE-AUTHOR: julien.stjean
#ROBOMERGE-SOURCE: CL 18349318 in //UE5/Release-5.0/... via CL 18349329
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18350076 by julien stjean in ue5-release-engine-test branch]
2021-12-02 02:13:23 -05:00
lauren barnes
8ffecdf82c Adding a delegate for mode toolkits to do any UI shutdown that depends on the mode UI layer. Small fix to completely unregister known tabs in the mode UI layer.
#jira none
[FYI] Mike.Zyracki

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 18328063 in //UE5/Release-5.0/... via CL 18328072
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18328083 by lauren barnes in ue5-release-engine-test branch]
2021-11-30 13:46:09 -05:00
mark lintott
9fab055f48 Non-Unity build fixes
#rb none
#jira none
#preflight 61a630a713434551d78661f5

#ROBOMERGE-AUTHOR: mark.lintott
#ROBOMERGE-SOURCE: CL 18324460 in //UE5/Release-5.0/... via CL 18324468
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18324492 by mark lintott in ue5-release-engine-test branch]
2021-11-30 09:46:34 -05:00
semion piskarev
5268d458d2 Add ability to get status bar name from IToolkitHost interface. The mode UI layer classes now get their status bar name from their toolkit host.
#rb Lauren.Barnes, Rinat.Abdrashitov
#rnx
#jira none
#preflight 619c085f974d7d572675945b

#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 18263637 in //UE5/Release-5.0/... via CL 18263645
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18263652 by semion piskarev in ue5-release-engine-test branch]
2021-11-22 16:50:41 -05:00