Commit Graph

992 Commits

Author SHA1 Message Date
sebastien lussier
0b29cec396 World Partition - HLOD: Store custom "editor bounds" in the HLOD actor descriptor
* For the HLOD actor, the streaming bounds is forced to be the bounds of cell represented by the HLOD.
* Editor bounds should be the correct actor bounds in order for queries of the editor hash to behave properly.
* Removed incorrect implementation of AWorldPartitionHLOD::GetActorBounds() which returned the streaming bounds. The default implementation is correct.
#rb jeanfrancois.dube

[CL 28147152 by sebastien lussier in ue5-main branch]
2023-09-22 14:16:15 -04:00
sebastien lussier
06beadeaa4 World Partition - HLOD: HLOD Actor Descriptor now stores the path to the source actors HLOD Layer asset
* This is the HLOD Layer asset used the build the HLOD
#rb jeanfrancois.dube

[CL 28139442 by sebastien lussier in ue5-main branch]
2023-09-22 12:07:22 -04:00
robert millar
9fbd6babc7 Save script serialization offsets into packages that use versioned property serialization.
Offset is saved relative to export serial data.
Add new object version entry SCRIPT_SERIALIZATION_OFFSET.

#rb PJ.Kack, Francis.Hurteau
#lockdown marc.audy

[CL 27898807 by robert millar in ue5-main branch]
2023-09-14 18:18:29 -04:00
robert millar
387bb0bd06 Add ability to presize name table in editor for large projects.
Example config in Editor.ini:

[Names]
PreallocateNames=10485760
PreallocateNameMemoryMB=900

#rb ben.zeigler

[CL 27883674 by robert millar in ue5-main branch]
2023-09-14 12:46:21 -04:00
nicholas frechette
885679348b Remove curve compression codec instance GUID since it causes cook determinism issues and isn't otherwise required.
#rb Thomas.Sarkanen
#jira UE-193030

[CL 27790165 by nicholas frechette in ue5-main branch]
2023-09-12 09:55:34 -04:00
david bromberg
ba6a2c427c Sequencer- Improve performance of searching for items in large sequences by keeping the Spawnables, Possessables, and ObjectBindings arrays sorted by FGuid and using BinarySearch where searching is necessary. Testing was performed on adds and searches in these arrays to ensure improvement (to searches). Adds are a bit more expensive, but should be alright in the vast majority of use cases. Iimprovement could be made if necessary to bulk additions by adding bulk operation functionality.
[REVIEW] [at]ue-sequencer
#jira UE-111561

[CL 27759752 by david bromberg in ue5-main branch]
2023-09-11 13:19:25 -04:00
jeanfrancois dube
97573a5210 World Partition Data Layers Logical Operator: change per-project setting to be only applied to new maps and force maps saved prior to this change to use the OR operator.
#rb richard.malo

[CL 27561763 by jeanfrancois dube in ue5-main branch]
2023-09-01 14:18:56 -04:00
cedric caillaud
d5c8184cbb Geometry collectoion : make sure that RestTransform is only set when necessary ( from SetRestState )
#rb benn.gallagher, vincent.robert, michael.bao, brice.criswell

[CL 27433985 by cedric caillaud in ue5-main branch]
2023-08-28 21:37:08 -04:00
steve robb
e48f030aa5 Moved FString usage out of various headers to allow them to be compiled with only a forward-declaration.
#rb none

[CL 27373301 by steve robb in ue5-main branch]
2023-08-25 06:54:06 -04:00
luc eygasier
f77303039e Moves GrassTypes from LandscapeProxy to LandscapeComponent.
Allows the use of different GrassTypes between the proxy and components by using LandscapeMaterialOverride.

#rb Jonathan.Bard
#jira UE-126118

[CL 27107988 by luc eygasier in ue5-main branch]
2023-08-15 13:02:18 -04:00
patrick enfedaque
cad84ea4bb InstancedStaticMesh Serialization Optim+Fix when bEditableWhenInherited == false (PackedLevelActors)
- Avoid persisting PerInstanceSMData, PerInstanceSMCustomData in this case and copy values from Archetype
- Also assign NumCustomDataFloats from Archetype in this case to fix warning (issue was with PerInstanceSMCustomData being always serialized and NumCustomDataFloats being delta serialized causing warnings before ReRunConstructionScript got to run)
- Also in this CL: Remove useless PerInstanceSMCustomData which was initialized and never used. This field gets properly cached by the base FInstancedStaticMeshComponentInstanceData class which serializes PerInstanceSMCustomData and PerInstanceSMData even if they have SkipSerialization flag because of the PPF_ForceTaggedSerialization flag
- Also remove useless copy of PerInstanceSMData as bMatch would be false if value differed. This might have been necessary at some point when this struct contained more than a Transform.

Resaving AncientGame with this change reduces the ExternalActors folder size by ~150mb (from ~500 to ~350)
Tested loading AncientGame without resave, pie, cook also tested with resave, pie and cook

#rb jeanfrancois.dube

[CL 27024756 by patrick enfedaque in ue5-main branch]
2023-08-11 06:28:32 -04:00
kirill zorin
00d25d33bc Fix PyReferenceCollector/ScriptDelegates regression
#jira UE-191497
#rb robert.millar
#lockdown zousar.shaker

[CL 27013465 by kirill zorin in ue5-main branch]
2023-08-10 17:41:44 -04:00
roey borsteinas
884ba5c928 Water: Fixed exclusion volumes not updating water collisions when they are moved/changed.
- Refactored the exclusion volume setting names so that they are more user-friendly. - Also supports a new mode which allows removing water bodies from the exclusion volume when including all.

#jira UE-189068
#rb jonathan.bard

[CL 26989810 by roey borsteinas in ue5-main branch]
2023-08-10 09:17:26 -04:00
steven barnett
ba608ec265 Add density to FPhysicsMaterial and use it for buoyancy
[CL 26926802 by steven barnett in ue5-main branch]
2023-08-08 15:22:55 -04:00
michael forot
6e4094da3e Chaos implicit object ref counted ptr + union simple shapes (WIP)
#rb chris.caulfield

[CL 26722951 by michael forot in ue5-main branch]
2023-07-31 17:46:47 -04:00
eric renaudhoude
0b3f74bfb4 OCIO: Avoid relying on invalid configs/settings to skip rendering.
We update the default enabled value to false, and let users manually enable the transform.

#jira UE-191362
#rb ruslan.idrisov, rod.bogart

[CL 26672329 by eric renaudhoude in ue5-main branch]
2023-07-28 09:58:22 -04:00
richard malo
5baf188939 WorldPartition: Added IsListedInSceneOutliner in WorldPartitionActorDesc and use it to hide unloaded ActorDescItems in the World Outliner. It is also used to hide actor bounds in World Partition Editor.
#rb patrick.enfedaque
#jira UE-191295

[CL 26636014 by richard malo in ue5-main branch]
2023-07-27 07:07:59 -04:00
thomas sarkanen
a3f5998775 Fix node bindings not being present for nodes that are drag-dropped
#jira UE-190695
#rb jose.villarroel

[CL 26568590 by thomas sarkanen in ue5-main branch]
2023-07-25 06:18:59 -04:00
tiago costa
754ea0ade7 Change default Local Exposure settings (contrast scale set to 0.8).
- Enabled Local Exposure in new projects via project "Default Settings".
- Modified default Local Exposure values in PPV.

In order to keep PPV in existing projects unmodified, this change adds a new BranchObjectVersion so that when loading assets saved in previous engine version, the default values are set accordingly before deserialization happens.

#rb daniel.wright, marc.audy

[CL 26557359 by tiago costa in ue5-main branch]
2023-07-24 17:53:34 -04:00
sara schvartzman
0d1797fd1e RigVM: Fix debug watches inside functions not working
#jira UE-190938
#rb helge.mathee

[CL 26546741 by sara schvartzman in ue5-main branch]
2023-07-24 12:25:42 -04:00
sara schvartzman
0a46734908 RigVM: Fix debug watches inside functions not working
#jira UE-190938
#rb helge.mathee

[CL 26544810 by sara schvartzman in ue5-main branch]
2023-07-24 11:53:32 -04:00
jeremy moore
759c8b4ed2 NaniteMaterialOverride no longer uses soft object ptr to hide from cook.
Instead we take advantage of new SkipOnlyEditorOnly cooking and use an EditorOnly hard objcect ptr instead.
This should avoid issues with sync loading during PostLoad.
We still need to maintain old soft object ref (and sync load) for backwards compatibility.
Also note that the new system depends on the AssetManager seeing the EditorOnly ref. So to still hide from the cook existing content will need a resave.
#lockdown marc.audy

[CL 26525684 by jeremy moore in ue5-main branch]
2023-07-21 16:56:28 -04:00
jeremie roy
6ad963b117 Fix media capture options losing previous ResizeSourceBuffer option
#rb simon.therriault
#jira UE-190511

[CL 26511176 by jeremie roy in ue5-main branch]
2023-07-21 10:35:29 -04:00
thomas sarkanen
57122faf0a AnimNext params in Anim BPs
Added a new anim node: AnimNext Parameters. This injects parameters into the AnimNext stack for all leafwards nodes.

Added a new way of binding to parameters on anim nodes.
- Added indirection to UAnimGraphNode_Base to allow different 'binding types' to be authored by deriving from UAnimGraphNodeBinding
- Added new binding type for AnimNext parameters
- Moved existing binding code (inc UI widget creation) into UAnimGraphNodeBinding_Base
- Binding types can be selected on a per-node or per-anim BP basis

Reworked FParamStack API a little
- Allow for better error checking when pushing/popping stack layers. Pushed layers can now only be subsequently popped by passing in the handle of the pushed layer.
- Standalone layers are now wrapped in an opaque handle rather than returning a unique ptr
- GetParamData APIs now perform more involved type checking, allowing derived object types & type conversions to be implemented

Improved parameter type sandboxing for automated tests. If running low-level type tests while execution was happening on another thread, the editor could crash because of invalidating already-existing types.

Lots of other small fixes to get workflows nicer and end-to-end functionality working

#rb Nicholas.Frechette,Jaime.Cifuentes,Jurre.deBaare

[CL 26455905 by thomas sarkanen in ue5-main branch]
2023-07-19 04:36:34 -04:00
jimmy andrews
3f483bd95f Change the default TangentsType for all new DynamicMeshComponent and expose TangentsType to the UI
Make TangentsType have an explicit 'Default' value, which will currently map to ExternallyProvided. ExternallyProvided is also renamed to "From Dynamic Mesh" in the UI.

#jira UE-187523
#rb ryan.schmidt

[CL 26433246 by jimmy andrews in ue5-main branch]
2023-07-18 10:07:19 -04:00