Commit Graph

3880 Commits

Author SHA1 Message Date
bart hawthorne
8eea3d88bb Fix Framepro's DynamicWString wrapper class - each time the assignment operator is called, it chops off the last character of the string.
#rb ryan.gerleve
[FYI] david.harvey


#ROBOMERGE-SOURCE: CL 7477716 via CL 7493666 via CL 7545632
#ROBOMERGE-BOT: (v372-7473910)

[CL 7545879 by bart hawthorne in Main branch]
2019-07-23 10:53:40 -04:00
dan phillips
a256fbb5cd Bug fix to reenable hardware decompression for XboxOne
Also fixes https://udn.unrealengine.com/questions/514260/xboxone-cook-crash-xboxonezlib.html#comment-514260-form

[at]ben.woodhouse, [at]david.harvey


#ROBOMERGE-OWNER: dan.phillips
#ROBOMERGE-AUTHOR: dan.phillips
#ROBOMERGE-SOURCE: CL 7476107 via CL 7478518
#ROBOMERGE-BOT: (v372-7473910)

[CL 7478519 by dan phillips in Main branch]
2019-07-22 17:04:56 -04:00
justin marcus
637c03cc22 Undo //Fortnite/Release-10.0/Engine/... changelist 7445561
Resubmitting CL 7437649

-Allow preload screens to optionally render
-Add FileExistsInPlatformPackage() to platform misc
-Add HasBuildMetaData() to bundle manager interface

[at]Thomas.Ross [at]Daniel.Lamb [at]Hongyi.Yu
#test preflight passed automation tests


#ROBOMERGE-SOURCE: CL 7474485 via CL 7474487 via CL 7475393
#ROBOMERGE-BOT: (v372-7473910)

[CL 7475436 by justin marcus in Main branch]
2019-07-22 11:49:15 -04:00
peter sauerbrei
b64feaefc2 turn off nano malloc on IOS (temporarily so we can get some playtest data this week)
#rb none


#ROBOMERGE-SOURCE: CL 7474357 via CL 7474359 via CL 7474814
#ROBOMERGE-BOT: (v372-7473910)

[CL 7474838 by peter sauerbrei in Main branch]
2019-07-22 10:26:07 -04:00
sebastian nordgren
88649e4f92 Added FCoreDelegates::OnBeforeHandleSystemError, this is to move registry writing for editor analytics before main crash reporting, since killing the editor process once the "Fatal error!" dialog pops up (and then freezes for a while during crash reporting) would cause an abnormal shutdown to be reported.
This should help reduce the number of crashes being reported as abnormal shutdowns because the analytics are never written out.

#jira UETOOL-1719

#rb chris.gagnon

#ROBOMERGE-SOURCE: CL 7473700 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7473701 by sebastian nordgren in Main branch]
2019-07-22 05:17:11 -04:00
brandon schaefer
56cc91637a Set our current thread when getting into the default crash handler
#jira UE-76368
#rb none
[FYI] Anthony.Bills

#ROBOMERGE-SOURCE: CL 7461403 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7461404 by brandon schaefer in Main branch]
2019-07-19 14:27:55 -04:00
bob tellez
4ed7bb0b4e Back out changelist 7437649. Autotest errors on PS4
[FYI] Justin.Marcus


#ROBOMERGE-SOURCE: CL 7445561 via CL 7446165 via CL 7450457
#ROBOMERGE-BOT: (v371-7306989)

[CL 7450607 by bob tellez in Main branch]
2019-07-19 09:28:29 -04:00
justin marcus
3c1a624312 -Allow preload screens to optionally render
-Add FileExistsInPlatformPackage() to platform misc
-Add HasBuildMetaData() to bundle manager interface

[at]Thomas.Ross [at]Daniel.Lamb [at]Hongyi.Yu


#ROBOMERGE-SOURCE: CL 7437649 via CL 7437657 via CL 7438904
#ROBOMERGE-BOT: (v371-7306989)

[CL 7438929 by justin marcus in Main branch]
2019-07-18 12:42:09 -04:00
brandon schaefer
7dc74409ec FPaths::GetCleanFilename now returns empty strings for directories so need a way to get leaf directories over abusing that function
Move previous implementation into its own GetPathLeaf function which should allow getting the leaf of the path regardless if its a file or dir

#jira none
#rb none
[FYI] Fred.Kimberley

#ROBOMERGE-SOURCE: CL 7437816 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7437820 by brandon schaefer in Main branch]
2019-07-18 10:33:32 -04:00
jamie dale
469410d055 Updated MU engine versioning to use the current build version
We've seen the compiled-in engine versions get out-of-sync when dealing with pre-built binaries vs binaries built locally by a programmer, so we've changed the validation to use the current engine version, and to override the changelist with the Build.version data (if available). The changelist in the Build.version data will always be the latest CL# synced in UGS, regardless of whether you're using a pre-built or locally compiled editor.

This change makes the older BaseRevision setting redundant, but we've kept it around for now (set to zero) so that we can hopefully change it to store the real content base revision in the future (in a way that works for projects not using UGS, eg) using pre-built editors from the public launcher).

Since the base revision is now always zero, it's been removed from the UI, and the UI has been updated to show you the engine version of a session instead.

#jira UE-77465
#rb Francis.Hurteau
#rnx

#ROBOMERGE-SOURCE: CL 7429459 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7429461 by jamie dale in Main branch]
2019-07-17 15:38:26 -04:00
john barrett
50bfd909a9 Fixed TArrayView assignment operator, to work properly with compatible types.
#rb Steve.Robb


#ROBOMERGE-SOURCE: CL 7404968 via CL 7418118
#ROBOMERGE-BOT: (v371-7306989)

[CL 7418148 by john barrett in Main branch]
2019-07-17 13:26:23 -04:00
matt kuhlenschmidt
2959766f64 Water changes
- Added better defaults for depth and width
- Hid the static mesh from the water actor. This is defined by the water type and should in general not be changed.  An override is still around as an advanced property as needed
- Tied depth and width properties to spline scale x and y.  They should always be in lockstep now.
- Added fixup code to fix up exising tests




#ROBOMERGE-SOURCE: CL 7325640 via CL 7329846
#ROBOMERGE-BOT: (v371-7306989)

[CL 7330063 by matt kuhlenschmidt in Main branch]
2019-07-16 21:12:13 -04:00
helge mathee
a6a2a333c0 Final copy-up for Control Rig Task Stream.
Merging using Fortnite_Main<->Fortnite_ControlRig

#rb none


#ROBOMERGE-OWNER: helge.mathee
#ROBOMERGE-AUTHOR: helge.mathee
#ROBOMERGE-SOURCE: CL 7321580 via CL 7323175
#ROBOMERGE-BOT: (v371-7306989)

[CL 7323351 by helge mathee in Main branch]
2019-07-16 11:49:59 -04:00
stu mckenna
6644baf34f - Add Niagara category to LLM
#rb none


#ROBOMERGE-SOURCE: CL 7315033 via CL 7318068
#ROBOMERGE-BOT: (v371-7306989)

[CL 7319872 by stu mckenna in Main branch]
2019-07-16 06:46:30 -04:00
stu mckenna
02b4442dfa - Fix deadlock in LLM when adding to ThreadStates
- This was due to ThreadArraySection and the underlying allocators Mutex (MallocBinned2)

#rb none
[FYI] josh.adams


#ROBOMERGE-SOURCE: CL 7314184 via CL 7317993
#ROBOMERGE-BOT: (v371-7306989)

[CL 7319774 by stu mckenna in Main branch]
2019-07-16 06:40:37 -04:00
dan phillips
bba64a43fb There's now a select instruction that can optimize this down from 8-9 instructions to a max of 2 (also eliminates a branch when creating the mask)
#rb ben.woodhouse, gil.gribb


#ROBOMERGE-SOURCE: CL 7309706 via CL 7315336
#ROBOMERGE-BOT: (v371-7306989)

[CL 7319175 by dan phillips in Main branch]
2019-07-16 06:06:19 -04:00
jack porter
a913c14fcc Apply platform scalability settings when changing Preview Rendering Level
#rb Allan.Bentham


[CODEREVIEW] Jack.Porter, Rolando.Caloca, Josh.Adams


#ROBOMERGE-OWNER: jack.porter
#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 7306462 via CL 7315035
#ROBOMERGE-BOT: (v371-7306989)

[CL 7318233 by jack porter in Main branch]
2019-07-16 01:31:34 -04:00
peter sauerbrei
e590baf146 addition of OOM detection for IOS uploaded to Crash Reporter as a crash
#rb none


#ROBOMERGE-SOURCE: CL 7298882 via CL 7298885 via CL 7298886 via CL 7298888 via CL 7309214
#ROBOMERGE-BOT: (v371-7306989)

[CL 7316865 by peter sauerbrei in Main branch]
2019-07-15 21:02:59 -04:00
Mieszko Zielinski
7266ee3943 Extended OctreeSemantics so that SetElementId can now accept a TOctree& parameter as well.
Submitting in Main since GenericOctree.h got moved recently and the change hadn't make it to FN yet

#jira none
#review-7308607 @Steve.Robb
#rb Steve.Robb
#fyi Yoan.StAmant

[CL 7308751 by Mieszko Zielinski in Main branch]
2019-07-15 10:39:31 -04:00
simon tovey
f87f7499ef Object Parameters
-------------------

New "Object" parameter type for Niagara.
These allow you to pass in Raw UObject pointers for use in data interfaces or renderers.
Current use case is to pass in Skeletal Mesh references from the outside.
This avoids having to create a whole new data interface when passing in external object references.

Other use cases could be passing in;
- material overrides
- Static mesh references to override the mesh a renderer uses.
- Basically any UObject a DI or renderer may use.

These are weakly typed, meaning that they have to be UObjects but beyond that, they can be anything.
So in theory you could pass in a Material to these Skeletal mesh references.
It's on the using code to validate and act appropriately.
This weak typing does allow a gread deal of flexibility though.
E.g. you can now pass in a Skeletal Mesh Actor OR a SkeletalMeshComponent to Niagara via the same parameter and the DI will interpret it accordingly.
The ability to pass in direct sub component refs is something cascade could never do.



Deterministic Randoms for Data Interfaces
-------------------------------------------

To support functional tests for the object parameters, this CL also includes deterministic randoms for DIs.
Random seeds for deterministic randoms are now packaged up into a NiagaraRandomInfo that can be passed to DI functions.
There is a helper class that will handle the parameter and let you generate randoms that are deterministic or not based on the passed NiagaraRandomInfo.
Non deterministic is indicated using a special case value of 0xFFFFFFFF for Seed3.


Misc
-------------
Some utility additions to int vector class.
Slight refactor of mesh helper for the skel mesh DI.
Fixed issue with incorrect delta time on first tick of skel mesh DI.

Work Needed
------------------------

UI customization for these parameters in the stack and the component override panel.
As these are typeless probably the best thing here is to have the stack UI be an asset picker and the component UI be an actor picker?
Is there such a thing as a combined asset/actor picker? IDK.

Deterministic Randoms need to be utilized in other DIs/Functions.

#rb Frank.Fella, Shaun.Kime


#ROBOMERGE-SOURCE: CL 7288634 via CL 7301760
#ROBOMERGE-BOT: (v370-7290619)

[CL 7302160 by simon tovey in Main branch]
2019-07-12 20:56:56 -04:00
cosmin sulea
a5078cb9b2 UE-74632 - iOS logging dramatically suppressed
#jira UE-74632
#rb Jack.Porter

#ROBOMERGE-SOURCE: CL 7288405 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v369-7254125)

[CL 7288407 by cosmin sulea in Main branch]
2019-07-12 04:26:06 -04:00
guillaume abadie
8a3099fd70 Restore default aperture to 4 in post process settings, and instead disable DOF by setting default focus distance to 0.
Note: Post process volume saved between 5993259 and this CL will loose their focus distance. But that is OK, because configuring a focus distance in a post process volume where camera came move arround doesn't make any sens anyway.

#rb marcus.wassmer
#jira UE-76709

#ROBOMERGE-SOURCE: CL 7283824 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v369-7254125)

[CL 7283826 by guillaume abadie in Main branch]
2019-07-11 20:42:26 -04:00
gil gribb
47f39c056b UE4 - Added a page cache to the XBox and adjusted some external code to properly call through the HAL instead of going directly to the OS for memory requests. The page cache is currently disabled as it does not produce measurable gains (yet).
#rb none


#ROBOMERGE-SOURCE: CL 7275334 via CL 7277129
#ROBOMERGE-BOT: (v369-7254125)

[CL 7277132 by gil gribb in Main branch]
2019-07-11 12:37:28 -04:00
james hopkin
697cf018fa #core Removed deprecated comments from TBaseMulticastDelegate::Add and TBaseMulticastDelegate::FDelegate. No intention to ever hide these, and they can be useful for binding the same handler to multiple delegates.
[CODEREVIEW] Steve.Robb


#ROBOMERGE-SOURCE: CL 7273976 via CL 7276663
#ROBOMERGE-BOT: (v369-7254125)

[CL 7276681 by james hopkin in Main branch]
2019-07-11 12:14:01 -04:00
dave belanger
db5de9e49b - Generation of PlaysetPropItemDefinitions for actors in a playset level on world save (levels under /Game/Playgrounds/Maps/Playsets). Enabled with GeneratePlaysetPropItemDefinitions editor setting (under Fortnite Developer Settings); false by default.
- CreativeAssetRegistry that will become the interface through which creative assets are accessed. Enabled with CreativeAssetRegistry.Enabled console variable; false by default.
- Temporary debug (only when CreativeAssetRegistry.Enabled is set): Can spawn and cycle through playset props with the creative move tool by pressing the comma key (previous prop) and the period key (next prop).
#rb Mike.Fricker


#ROBOMERGE-SOURCE: CL 7273653 via CL 7276311
#ROBOMERGE-BOT: (v369-7254125)

[CL 7276325 by dave belanger in Main branch]
2019-07-11 11:50:59 -04:00