Commit Graph

21113 Commits

Author SHA1 Message Date
jack cai
558371186f Control Rig: Added Control Rig Context Menu Context to GraphNodeContextMenu + Added GraphPanel specific context to ControlRigContextMenuContext
#jira UE-118634
#rb helge.mathee

[CL 16776954 by jack cai in ue5-main branch]
2021-06-24 15:07:45 -04:00
jordan hoffmann
83512094f8 Tooltip field for event dispatchers no longer works and should be renamed to 'Description' to match custom functions
#jira UE-77236
#rb justin.hare

[CL 16776613 by jordan hoffmann in ue5-main branch]
2021-06-24 14:33:46 -04:00
Jamie Dale
dd96f734b2 Converted UTypedElementList to no longer be a UObject
Storing typed elements in UObjects can easily lead to reference leaks if the elements aren't cleared prior to the UObject being left pending GC. This actually made UTypedElementList tricky to use, as you had to remember to manually empty it when you'd finished with it to avoid reference leaks, and we've had several cases now where that was done incorrectly.

To address this issue, we've moved element lists back to being a normal C++ class, FTypedElementList. However, unlike the original version of FTypedElementList (which was itself a UStruct), this version is always heap-allocated and referenced via a TSharedPtr/TSharedRef.

This gives us a nice middle-ground of a well defined lifetime (ie, no lingering references prior to GC) while still being efficient to pass around, including for scripting APIs via FTypedElementListProxy (which just wraps the TSharedPtr in a UStruct).

The downside of this approach is that we need to wrap the FTypedElementList functions that we want to expose to the scripting API (see UTypedElementListLibrary), however that is a far more reasonable burden than requring every user of the typed element framework to know and understand that UTypedElementList had to be manually cleared to avoid potentially hard to find reference leaks (especially if via leaked via scripting APIs).

The core of this change is to TypedElementList.h/.cpp, with TypedElementListFwd.h existing to forward declare the pointer types, and TypedElementListProxy.h and TypedElementListLibrary.h existing to declare the proxy type and wrapped functions used for scripting APIs. TypedElementSelectionInterface.h (and its implementations) provide an example of using FTypedElementListProxy within a scripting API, and the rest of the change is mostly just fallout to transform const UTypedElementList* to FTypedElementListConstRef and UTypedElementList* to FTypedElementListRef.

#rb Brooke.Hubert
#preflight 60d2720c634cd100016c804b

[CL 16776547 by Jamie Dale in ue5-main branch]
2021-06-24 14:29:38 -04:00
euan carmichael
0adb04a191 Add a new option to debug skel mesh to allow debug mesh LOD to track the LOD of an attached instance in the level viewport
#rb Thomas.Sarkanen
#jira UE-118675

[CL 16775251 by euan carmichael in ue5-main branch]
2021-06-24 12:32:50 -04:00
ben hoffman
2d93fed50e Instead of checking if something is a child actor component when attempting to maniuplate it, check if its owner is a CAC instead. If it's owner is a CAC, then it cannot be removed because it is determined by the owning CAC. Before, the code was incorrectly checking if something was just a plain old child actor component, resulting in being unable to delete, reparent, or attach to a child actor component.
#jira UE-117132
#jira UE-117332
#jira UE-117327
#jira UE-117329

#rb marc.audy
#rnx

#preflight 60d48296925f1400010bb909

[CL 16773601 by ben hoffman in ue5-main branch]
2021-06-24 10:55:53 -04:00
Matt Peters
edb8b402fd UWorld::CleanupWorldInternal should not clear standalone flags in itself or other packages when running in commandlet; that will interfere with the load/save of the other package, and is unnecessary in the cooker. This is a fix for the recent change that sets bCleanupResources=true when CleanupWorld is called from CleanupPhysicsSceneThatWasInitializedForSave in the cook commandlet.
#rb Francis.Hurteau
#rnx

[CL 16772657 by Matt Peters in ue5-main branch]
2021-06-24 09:57:28 -04:00
Jamie Dale
a1a4a2a680 Also deselect child elements when an actor is destroyed during PIE
#fyi Brooke.Hubert

[CL 16771827 by Jamie Dale in ue5-main branch]
2021-06-24 09:08:23 -04:00
David Harvey
c55745f9ef Added Turnkey and RunUAT console commands to the editor.
#jira UE-118572
#rb nuno.leiria
#rnx

[CL 16771609 by David Harvey in ue5-main branch]
2021-06-24 08:54:47 -04:00
danny chapman
f4b63c4c71 Navigation into/out of Blendspace graphs
#rb thomas.sarkanen
#jira UE-117372

[CL 16771404 by danny chapman in ue5-main branch]
2021-06-24 08:41:18 -04:00
Thomas Sarkanen
bc2299c887 Removing Initialize and Evaluate functions
For now, removing these as their semantics are due to change
Also converting Update and Become Relevant functions to use more-devived-typed update context (less casting required)

#rb Jurre.deBaare

[CL 16771205 by Thomas Sarkanen in ue5-main branch]
2021-06-24 08:29:54 -04:00
Thomas Sarkanen
a7693139ce Fixed crash drag/dropping a sequence player into a template anim BP
#rb Jurre.deBaare

[CL 16771196 by Thomas Sarkanen in ue5-main branch]
2021-06-24 08:29:21 -04:00
Thomas Sarkanen
19480af086 Fix crash when compiling-on-load a graph that contains NULL nodes
#rb Jurre.deBaare

[CL 16771191 by Thomas Sarkanen in ue5-main branch]
2021-06-24 08:28:54 -04:00
Jamie Dale
e807452dc4 Don't attempt to unload newly created worlds when performing a map load
This is an extension of the fix for UE-117449, which focused on the case where the map being loadead was the only available newly created world. This handles the case where there may be multiple newly created worlds available when performing a map load, as this case would still present an error dialog that these worlds could not be unloaded.

#rb JeanMichel.Dignard
#preflight 60d388a0a8190400019186e8

[CL 16771187 by Jamie Dale in ue5-main branch]
2021-06-24 08:28:46 -04:00
Andrew Davidson
24a7315c8f LWC: Replaced Promote/DemoteArrayType with a single ConvertArrayType now that conversion is possible via explicit cast.
#preflight 60d33a1bd9586b000131ef75

[CL 16769796 by Andrew Davidson in ue5-main branch]
2021-06-24 05:03:46 -04:00
danny chapman
e3d802a216 Remove sample connection drawing in blendspace when using the grid
#rb thomas.sarkanen
#jira UE-118637

[CL 16769794 by danny chapman in ue5-main branch]
2021-06-24 05:02:34 -04:00
Matt Peters
a42eca2431 Add missing header guard.
#rnx
#rb None, Trivial

[CL 16769115 by Matt Peters in ue5-main branch]
2021-06-24 01:29:25 -04:00
Matt Peters
07a0af0f5b BulkDataRegistry
Updating FVirtualizedUntypedBulkData and textures to use the BulkDataRegistry.
BulkDataRegistry: Add get/put accessors for the cached BulkDataList of packages.
EditorDomain: Move ClassDigests into a global variable that can be shared with BulkDataRegistry.
EditorDomain: Improve performance of GetFileSize by fetching metadata only.
Tickable Cook Objects, for systems used by the cooker that need to be ticked.
Implementation of the the BulkDataRegistry that uses the DDC cache for persistent storage of the BulkDataList.

#rb Devin.Doucette, Paul.Chipchase, Zousar.Shaker

[CL 16768772 by Matt Peters in ue5-main branch]
2021-06-24 00:50:53 -04:00
zahra nikbakht
ae6c9f785d Created thumbnails in the content browser for widget BPs #RB patrick.boutot #jira none
#preflight 60d352e971002f0001062c03

[CL 16766238 by zahra nikbakht in ue5-main branch]
2021-06-23 19:55:11 -04:00
aurel cordonnier
d17d20ca36 Merge from Release-Engine-Test @ 16758890 to UE5/Main
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)

[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
brooke hubert
0d7a7d4e5d Placement tools use hit proxies to determine objects inside of brush radius instead of world sweeps.
Static mesh instances are only hooked up editor side via hit proxies, and won't register in a sweep since it only deals with limited types.

#preflight 60ccd086be81e80001e90434
#Jira UETOOL-3724
#rb jamie.dale
#fyi basil.pesin

[CL 16763208 by brooke hubert in ue5-main branch]
2021-06-23 17:43:35 -04:00
Mike Zyracki
d9f786cf18 Automation Fix; Bad merge.
#jira UE-118854
#rb na

[CL 16762752 by Mike Zyracki in ue5-main branch]
2021-06-23 17:19:59 -04:00
Arciel Rekman
8b07a49b1d Enable current shader platform in material platform stats by default (UE-118073).
#rb Chris.Waters
#review-16760847 @Christopher.Waters
#jira UE-118073

[CL 16761008 by Arciel Rekman in ue5-main branch]
2021-06-23 15:30:56 -04:00
justin hare
b1bdfd15e8 Fix for blueprint class default values not initially propagating to child BP classes when created via "Promote to Variable" operation. We now detect this at the 1st normal BP compilation and initialize child BP values then.
#rb phillip.kavan ben.hoffman jordan.hoffmann
#jira UE-61676
#preflight 60d33f4178c3b000014f8ea7

[CL 16759714 by justin hare in ue5-main branch]
2021-06-23 13:46:50 -04:00
richard malo
d02631d681 Fixed LevelInstance actors not properly reacting to DataLayer visibility change in the editor.
#rb patrick.enfedaque


#ROBOMERGE-SOURCE: CL 16758132
#ROBOMERGE-BOT: (v835-16672529)

[CL 16758136 by richard malo in ue5-main branch]
2021-06-23 11:47:21 -04:00
guillaume abadie
c1819a0532 Implements r.AntiAliasingMethod
#rb none
#preflight 60d33c8cd9586b000132acac


#ROBOMERGE-SOURCE: CL 16758022
#ROBOMERGE-BOT: (v835-16672529)

[CL 16758023 by guillaume abadie in ue5-main branch]
2021-06-23 11:38:33 -04:00