Commit Graph

4653 Commits

Author SHA1 Message Date
ben zeigler 239dde3eee Fix some incorrect calls to IsDefaultSubobject
#rb Tim.Smith

[CL 30906710 by ben zeigler in ue5-main branch]
2024-01-25 18:33:07 -05:00
markus breyer 192bf73b1e Tweaks to make UnrealEditor compile with VerseVM and AutoRTFM enabled
- moved Verse::GlobalProgram into its own .h/.cpp file

#rb russell.johnston
#rnx

[CL 30896233 by markus breyer in ue5-main branch]
2024-01-25 14:43:52 -05:00
maxime mercier 3ed09569c4 Added clear overides API to the Overridable Manager.
#rb kurtis.schmidt

[CL 30888982 by maxime mercier in ue5-main branch]
2024-01-25 11:31:40 -05:00
kevin macaulayvacher 951a754390 [Backout] - CL30884576
[FYI] kevin.macaulayvacher
Original CL Desc
-----------------------------------------------------------------
Re-enable check for invalid PackageHandles when resolving Packaged Objects. This check helps with identifying cases where garbage memory is used to construct objects

#rb Francis.Hurteau

[CL 30885059 by kevin macaulayvacher in ue5-main branch]
2024-01-25 09:34:26 -05:00
kevin macaulayvacher b01908e31c Re-enable check for invalid PackageHandles when resolving Packaged Objects. This check helps with identifying cases where garbage memory is used to construct objects
#rb Francis.Hurteau

[CL 30884614 by kevin macaulayvacher in ue5-main branch]
2024-01-25 09:25:55 -05:00
devin doucette 308d762eb7 Updated FPropertyTypeName to make it more convenient to use
#rb Francis.Hurteau
#rnx

[CL 30862617 by devin doucette in ue5-main branch]
2024-01-24 16:37:36 -05:00
jamie dale 4b75aacfde Add overload of GenerateDeterministicTextKey that works with a property name
#rnx

[CL 30859889 by jamie dale in ue5-main branch]
2024-01-24 15:44:20 -05:00
ben zeigler a847428a94 Add new IsTemplateForSubobjects function that correctly handles querying for all types of subobject templates
Add comments warning against use of IsDefaultSubobject due to the historically inconsistent behavior, and deprecate CollectDefaultSubobjects for being redundant and incorrect
Improve general comments related to subobject functions to better match the current behavior
#jira UE-201046
#rb dan.oconnor

[CL 30858830 by ben zeigler in ue5-main branch]
2024-01-24 15:22:15 -05:00
robert manuszewski 4d2ba73f8a Fixing CIS
#rb trivial

[CL 30849814 by robert manuszewski in ue5-main branch]
2024-01-24 12:18:47 -05:00
robert manuszewski b53c4d6840 GC stats for analytics.
Added GarbageCollectComplete event that gets fired after GC is truly done (existing events were inconsitent in that manner)

#rb Johan.Torp

[CL 30845256 by robert manuszewski in ue5-main branch]
2024-01-24 10:55:23 -05:00
jordan hoffmann ee0c2e0c87 [BugFix] CDOs weren't being copied when InstanceDataObjects were generated
[BugFix] mark properties as overridden when changed by fixup tool
[Temp] gave IDO properties without categories a category as a workaround to a details customization bug
#rb Francis.Hurteau

[CL 30826433 by jordan hoffmann in ue5-main branch]
2024-01-23 19:44:48 -05:00
spencer melnick b367cc2712 Adding support for multi-line entries on config set properties.
Duplicate values are filtered out during load.
Existing config values for set properties should continue to be loaded the same way as before.

Example syntax:
SetProperty=("Value1", "Value2")
+SetProperty="Value3"
+SetProperty=("Value4", "Value5")

[REVIEW]

[CL 30815266 by spencer melnick in ue5-main branch]
2024-01-23 15:18:19 -05:00
steve robb 104c0f2416 Fixed up more bool-taking calls to take EAllowShrinking instead.
[CL 30806200 by steve robb in ue5-main branch]
2024-01-23 11:07:28 -05:00
tim smith 1ea965b74a Fixed a few minor signed/unsigned mismatches.
#rnx
#rb neil.henning

[CL 30805305 by tim smith in ue5-main branch]
2024-01-23 10:46:27 -05:00
maxime mercier 5d628a7021 Fix default CDO value not being serialized in cooked server content when using Overridable Serialization.
#rb kurtis.schmidt, Tom.Noonan

[CL 30802134 by maxime mercier in ue5-main branch]
2024-01-23 09:05:28 -05:00
logan buchy 400d6a7e34 Serialize Override Property data if using Unversioned serialization
* Allows resulting object from StaticDuplicateObject to get override information

#rb Maxime.Mercier
#jira UE-204007

[CL 30790681 by logan buchy in ue5-main branch]
2024-01-22 19:03:51 -05:00
aris theophanidis 7192b9d0a2 Remove text.h from script.h (script.h is included by object.h)
#rb Yoan.StAmant

[CL 30776575 by aris theophanidis in ue5-main branch]
2024-01-22 11:52:48 -05:00
danny couture 2a8f3849b6 [ZenLoader/UObject]
- Avoid automatically adding AsyncLoading flag during duplication as this can prevent GC. This flag should only be managed by the async loading code itself.

#jira UE-204346
#rb Francis.Hurteau

[CL 30771059 by danny couture in ue5-main branch]
2024-01-22 09:34:15 -05:00
thomas sarkanen 266d9b077d Added the ability to add comments to curves on animations
Comments are added from the curve's outliner menu. Editing can just be done by clicking the comment after it has been created
Also exposed the setting to view curves in a tree view in the timeline itself

NOTE: this removes a 4.5 core redirect from CurveName to LastObservedName as CurveName was reinstated as the canonical name for the curve, and having the redirect in place causes issues with tagged property serialization when new properties are added.

#jira UE-203593
#rb Nicholas.Frechette

[CL 30769970 by thomas sarkanen in ue5-main branch]
2024-01-22 09:01:15 -05:00
steve robb f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
danny couture 0f3f77eb9e [ZenLoader]
- Fix !bAllDone assert that could happen when a node timed out and was resumed during a recursive flush while still executing higher on the stack

#jira UE-203439
#rb kevin.macaulayvacher

[CL 30716086 by danny couture in ue5-main branch]
2024-01-19 10:29:21 -05:00
danny couture 3a93abc778 [ZenLoader]
- Fix cases where objects constructed during callbacks at end of load (i.e. flush reinstancing queue, etc...) were wrongly assigned to the package on the stack, leading to their premature postloading even before they were fully serialized.

#rb Francis.Hurteau

[CL 30713589 by danny couture in ue5-main branch]
2024-01-19 07:36:08 -05:00
steve robb da3a1210fc Made the JsonArchive structured formatters non-copyable so that their useless copy and move consturctors don't show up in IntelliSense.
#rb devin.doucette

[CL 30712630 by steve robb in ue5-main branch]
2024-01-19 05:41:27 -05:00
jared cotton 8654089a70 SOL-4559 - "Add Freeze/Melt"
- Added OpCodes melt/freeze which are how deep-copying of vars will be done. ie `VarSet(Melt(Value))` and `Freeze(VarGet(Var))`
   - melt suspends upon encountering a placeholder
   - freeze errors on encountering a placeholder. This may change depending on whether the Verse-Verifier decides to allow this or not.
- note: We use a VCell header bit to identify types which are deeply mutable and thus require melt/freeze operations (this may be moved into these types emergent types)

- Re-worked VMap classes so now majority of code lives inside VMapBase via templating

#rb saam.barati

[CL 30688090 by jared cotton in ue5-main branch]
2024-01-18 12:24:29 -05:00
tim smith 2a2d85319e Updated visitor API to allow for load serialization of UObjects
#rnx
[RN] Tim.Smith

[CL 30687312 by tim smith in ue5-main branch]
2024-01-18 12:06:30 -05:00