- Made a couple of simple getter member functions const
- Added missing virtual and override specifiers
#rb trivial
#preflight 63be92846729b05ec93fda5f
[CL 23648569 by nick edwards in ue5-main branch]
Reduces memory from 3.2 MB to 2.2 MB for an internal project with > 500 000 objects, and prevents large and slow reallocs.
Note that the object archetype may already be cached if GetArchetype is called before CacheArchetypeForObject for an object where the outer does not have RF_NeedLoad set (e.g. UPackages), and this causes the same annotation to be added twice.
Make FUObjectAnnotationChunked::AddAnnotation behavior consistent with FUObjectAnnotationDense by removing the existence check and allowing overwrites.
#jira UE-143138
#rb robert.manuszewski
#rnx
#preflight 63b68b94995dced03ab2df0d
[CL 23648554 by pj kack in ue5-main branch]
- Expanded FDeprecateSlateVector2D to provide structs for parameters, return types and member variables that use FVector2f, while still allowing conversion to/from FVector2d with optional per-module deprecation mechanisms.
- Many of the high-traffic SlateCore types like FSlateBrush, FGeometry and FSlateLayoutTransform have been converted to use these deprecation mechanisms.
- Some legacy FGeometry::ToPaintGeometry and MakeChild overloads have been explicitly deprecated since they cause ambiguous overloads with FSlateLayoutTransform if it were to support implicit construction.
- Deprecated ULocalPlayer::GetPixelBoundingBox and GetPixelPoint to prefer FVector2f for OptionalAllotedSize parameter since this parameter is expected to come from FGeometry
- Exposed FVector2f members to blueprints
#jira none
#rb Andy.Davidson, Dave.Jones, Vincent.Gauthier, Patrick.Boutot
#preflight 63bc6fd068068a8bd6027c9f
[CL 23631073 by Andrew Rodham in ue5-main branch]
* Removed CoreMinimal.h include from a ton of headers all the way to Actor.h. This shaved off 15% of the compile time of small files that has uht markup.
#preflight 63b915baaf3ebedd9931496e
#rb none
[CL 23607296 by henrik karlsson in ue5-main branch]
UFUNCTION(BlueprintCallable)
static void TestRequiredIntParameter(UPARAM(Required) int32 Value);
Useful for marking pointer params as required so they are not null by default, but also applicable to complex types with custom make nodes
#jira
#rb Jordan.Hoffmann
#preflight 63b89fff763c6c10645b94c4
[CL 23604737 by dan oconnor in ue5-main branch]
GetTypeHash will create a packaged object ref for hashing if the class is defined as lazy load otherwise raw pointer is hashed
a map was added for moved objects and ObjectPathId can be a WeakObjectPtr
the map allows UObjects to be mapped back to packed object refs
#rb zousar.shaker
https://p4-swarm.epicgames.net/reviews/23356491
#preflight 63b5de641c35d1cbdbccecf7
#preflight 63b70406e26e31879b8aa6d3
[CL 23589497 by joe pribele in ue5-main branch]
A newly created OFPA actor would trigger PostLoadedStateChanged to clear the undo buffer due to it creating a new actor desc. This now skips clearing the undo buffer unless an actor has been unloaded.
A deleted OFPA actor would trigger CleanupAfterSuccessfulDelete to clear the undo buffer so that the package can be GC'd. This makes sense for assets (where a delete isn't transacted), but not for actors (where the delete can be undone). This now skips clearing the undo buffer when cleaning-up OFPA packages, and also marks any lingering packages as being PKG_NewlyCreated (since they no longer have a file on disk) and dirty so that they can be saved again if the delete is undone.
#preflight 63b449f435203bc7aaa75fa2
#rb Francis.Hurteau
[CL 23570251 by jamie dale in ue5-main branch]
Make sure to also reuse the serial number when reusing the internal index.
#jira UE-172667
#rb carlmagnus.nordin
#rnx
#preflight 639c3c248c5081ee9a4bbe79,63b3db852960b7322014a4a3
[CL 23564284 by PJ Kack in ue5-main branch]
* ObjectPtr - Skipped static_assert when building for IWYU... (for compile time reasons this static assert should probably be moved to ObjectPtr dtor or something)
#rb none
#preflight skipped
[CL 23546931 by henrik karlsson in ue5-main branch]
Allow EditorDomain to save BulkDataType FBulkDataInfo::BulkSegment.
Declare a Region for each BulkData passed into the EditorDomain PackageWriter.
Mark BulkDatas saved by reference as PayloadInSeparateFile.
Allow RegionTypeNone in SerializePayload.
#rb Francis.Hurteau
#rnx
#preflight 639cec7c776b61ba3b905f8a
[CL 23542385 by Matt Peters in ue5-main branch]
* Added macro IWYU_MARKUP_IMPLICIT_CAST that can be used in extreme situations where we want to communicate to IWYU that we actually need to know about the <from> type and therefor include can't be removed
#rb steve.robb
#preflight 6392fb7fcf0e31f727f7ca55
[CL 23499739 by henrik karlsson in ue5-main branch]
This change aims to unify how BulkData and DerivedData references are stored and loaded from disk.
The structured part of Bulk Data i.e. Flags,Offset and Size has been moved out from the export data
and into a lookup table in the package header. This allows for bulk data to be rearranged w/o needing to recook but it will
also be used for derived data references to allow loading DDC data both from the runtime.
Currenlty this change ONLY effects cooked output.
Inline data can now be reloaded when loading from I/O store, all consistency checks
when discarding/reloading inline data has been removed.
When cooking, exports are serialized into it's own archive enabling the package header
to be modified after cooking the exports. This also makes it easer to rearrange the exports
in the export bundles for optimal loading performance, i.e. there is no longer a dependency
of the cooked serial offset from the begnning of the .uasset file.
#rb CarlMagnus.Nordi, PJ.Kack, Paul.Chipchase
#jira none
#preflight 637387db9e3bea807941a850
#rnx
[CL 23489396 by Per Larsson in ue5-main branch]