122 Commits

Author SHA1 Message Date
Ben Marsh
e48c69bf58 LiveCoding: Tweaks to live coding settings.
* Compile dropdown now just contains a checkbox for enabling live coding.
* Compile dropdown has a link to open the editor preferences window.
* Live coding can be enabled from the editor settings window.
* Option to show the console on startup is now folded into the startup mode.
* Options in the editor settings window are greyed out unless live coding is enabled.

#rb none
#jira

[CL 5352692 by Ben Marsh in 4.22 branch]
2019-03-08 16:02:27 -05:00
Ben Marsh
e1fe0cc030 Integrating live coding feature (aka Live++) into UE4.
Allows fast iteration of C++ changes without restarting the application. To use, select the "Live Coding (Experimental)" mode from the drop down menu next to the editor's compile button, or type "LiveCoding" into the console for a monolithic build. Press Ctrl+Alt+F11 to find changes and compile.

Changes vs standalone Live++ version:

* UBT is used to execute builds. This allows standard UE4 adaptive unity mode, allows us to reuse object files when we do regular builds, supports using any build executor allowed by UBT (XGE, SNDBS, etc..).
* Adding new source files is supported.
* Custom visualizer for FNames is supported via a weakly linked symbol in a static library (Engine/Extras/NatvisHelpers).
* Settings are exposed in the editor's project settings dialog.
* Standalone application has been rewritten as a Slate app ("LiveCodingConsole"). There is an additional option to start the program as hidden, where it will not be visible until Ctrl+Alt+F11 is hit. Similarly, closing the window will hide it instead of closing the application.
* Does not require a standalone licensed version of Live++.

Known issues:

* Does not currently support class layout changes / object reinstancing

#rb none
#fyi Marc.Audy, Stefan.Boberg, Nick.Penwarden
#jira

[CL 5304722 by Ben Marsh in 4.22 branch]
2019-03-05 15:54:02 -05:00
Jonas Meyer
f955fd2ac6 Move default graphics RHI to windows target settings
#rb rolando.caloca
#jira UE-70479

[CL 5277239 by Jonas Meyer in 4.22 branch]
2019-03-04 05:11:07 -05:00
Jonas Meyer
062a4f172a Project option to select default graphics api for a project.
Visual cue can be gotten by hovering over the project title
#jira UE-70479
#fyi juan.canada rolando.caloca
#rb none

[CL 5237562 by Jonas Meyer in 4.22 branch]
2019-02-28 06:52:36 -05:00
josh jensen
50beced25a Restored the Settings->Preview Rendering Level menu and made it the access point to the Preview Mode button
#rb Allan.Bentham
[FYI] Jack.Porter, Allan.Bentham


#ROBOMERGE-SOURCE: CL 4739433 via CL 4739434

[CL 4739435 by josh jensen in Main branch]
2019-01-17 08:57:13 -05:00
Francis Hurteau
57c677da93 Copying //UE4/Dev-Enterprise@4705006 to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4705151 by Francis Hurteau in Main branch]
2019-01-10 17:26:53 -05:00
josh jensen
1d5834996e Moved feature level preview mode selection to a Preview Mode combo toggle button on the editor toolbar.
The Preview Mode toggle button allows for fast feature level switching for the Level editor. Feature level switch now affects the Static Mesh editor, Material editor, and Animation editor.

Disabled the preview switching during PIE.

Icons are placeholder.

#rb Allan.Bentham
[FYI] Allan.Bentham, Jack.Porter


#ROBOMERGE-SOURCE: CL 4700808

[CL 4701730 by josh jensen in Main branch]
2019-01-10 13:36:37 -05:00
Chris Gagnon
8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00
Matt Kuhlenschmidt
7a313bf0eb Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4659626 by Matt Kuhlenschmidt in Dev-Editor branch]
2018-12-13 17:04:16 -05:00
jkinz3
7bbb90ea57 PR #5056: Added bindable command AlignBrushVerticesToGrid (Contributed by jkinz3)
#rb Chris.Gagnon

[CL 4388552 by Chris Gagnon in Dev-Editor branch]
2018-09-21 18:16:36 -04:00
Cody Albert
214d00b5c0 Updated VR Mode button to become inactive during SIE (instead of disappearing altogether)
#jira UE-50220
#rb Lauren.Ridge

[CL 4200944 by Cody Albert in Dev-Editor branch]
2018-07-10 15:55:20 -04:00
Marc Audy
d90da4ab1a Merge to Dev-Main for 4.20 @ 4090813
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4091081 by Marc Audy in Main branch]
2018-05-23 21:04:31 -04:00
Ben Marsh
348616bd78 Copying //UE4/Release-Staging-4.19 to //UE4/Dev-Main (Source: //UE4/Release-4.19 @ 3873914)
============================
  MAJOR FEATURES & CHANGES
============================

Change 3873906 by Dan.Oconnor

	Revised fix for preventing delegate functions from appearing in context menu when using the compilation manager - needed to run after CallDelegateHandler changed statement type

	#jira UE-51726

Change 3873614 by Dan.Oconnor

	Prevent delegate functions from appearing in context menu when using the compilation manager and prevent crash if such a function is somehow compiled

	#jira UE-51726

Change 3873428 by Ben.Zeigler

	#jira UE-54753 Fix class pin on SpawnActorFromClass to correctly support browse. It was inherting from the wrong pin widget
	Copy of 3873408

Change 3873083 by Ethan.Geller

	[4.19]#jira UE-54865 fix seconds -> milliseconds conversion issue. #rb aaron.mcleran #lockdown cristina.riveron

Change 3872714 by Dan.Oconnor

	Further revise fix for UE-53840, mistakenly reverted to old behavior when compiling synchronously
	#jira UE-53840

Change 3872648 by Ben.Zeigler

	#jira UE-54845 Fix crash in NextDebugTarget when there are no valid debug targets
	Copy of CL #3872636

Change 3872500 by Arne.Schober

	Back out changelist 3870283
	#jira UE-54838

Change 3872412 by Mark.Satterthwaite

	Remove now unnecessary r.Metal.ManualVertexFetch from the device profiles.

	#jira UE-54853

Change 3872313 by Martin.Wilson

	Add UI to Live Link Client to warn live link users about background performance throttling

	#jira none

Change 3872272 by Martin.Wilson

	Fix crash when clearing a skeletal mesh on a skeletal mesh component with an active Post Process Anim Instance

	#jira none

Change 3872238 by Mark.Satterthwaite

	Duplicate CL #3871025
	Make Manual Vertex Fetch a property of the shader platform for Metal - only the desktop platforms (METAL SM5/SM5_NoTess/MRT) will use manual vertex fetch. The mobile platforms use vertex descriptors. Prevents problems with cooked versions of games not working properly on Metal due to a mismatch between the runtime's Manual-Vertex-Fetch state versus the state used by the cooker when compiling shaders.

	#jira UE-54843

Change 3872087 by Yasiman.Ahsani

	Adding Python, libdisasm, musl, and LSS licenses.

	#JIRA n/a - adding licenses for new TPS

Change 3872037 by Ben.Marsh

	BuildGraph: Add a task for compiling MSBuild projects.

	#jira

Change 3871934 by Lina.Halper

	#jira: UE-54703

Change 3871595 by Michael.Trepka

	Fixed a problem with Mac editor not exiting with error code returned from GuardedMain function

	#jira UE-54830

Change 3870829 by Joe.Barnes

	Fix unintentional change to PhysX libs used in Debug builds.

	#jira ue-54817

Change 3870820 by Nick.Atamas

	Copying //Tasks/UE4/Dev-VR-4.19a@3870772 to Release-4.19 (//UE4/Release-4.19)

	#jira UE-54816

Change 3870755 by Chance.Ivey

	Min Android version set - should fix camera permissions issue found in #JIRA UE-54024 #rb none #fyi nick.atamas

Change 3870547 by Krzysztof.Narkowicz

	Fixed FreezeRendering on non editor builds: ComputeAndMarkRelevanceForViewParallel was calling FrozenMatricesGuard on multiple threads, reading and writing view matrices state in parallel.

	#jira UE-53640

Change 3870546 by Krzysztof.Narkowicz

	Fixed tesselation shader tex/uniform initialization in OpenGL3/4 path

	#jira UE-54471

Change 3870284 by Ben.Zeigler

	#jira UE-54583 Fix issue where loading multiple already loaded assets via Async Load Asset node could return the wrong asset on the loaded pin. The assign variable node was happening at a slightly wrong time
	Copy of CL #3870279

Change 3870283 by Arne.Schober

	SafeRelease SRVs that might be hold by the Vertexfactories (maybe due to indirect use in GlobalResources)
	Note that the VFs are not owners of the data, e.g the underlying Buffers might be released before this and this reference counting should be uneccessary

	#jira none

Change 3870098 by Ben.Marsh

	Fix OptimizeCode = CodeOptimization.Always causing compile errors in Linux debug builds. bUseInlining was not set correctly on the global compile environment used to build shared PCHs. Also fixed other settings not being propogated down from the target correctly.

	#jira UE-53855

Change 3870013 by Ben.Marsh

	UBT: Add an error if a user attempts to clean a target through hot-reload, rather than just failing to delete DLLs because they are locked.

	#jira UE-54179

Change 3870010 by Ben.Marsh

	UBT: Add an option to format output messages in a form that can be parsed by MSBuild. Prevents errors showing as "EXEC: Error:", and displays them correctly in the error list window.

	#jira

Change 3869814 by Ben.Marsh

	UBT: Unify command line arguments to use -Name=Value syntax. -Module <Name>, -ModuleWithSuffix <Name> <Suffix>, -Plugin <Path> and -Receipt <Path> are no longer supported.

	Also remove the RemoteRoot option, which was not used anywhere.

	#jira

Change 3869786 by Martin.Wilson

	Fix Live Link Remove Source button not working

	#Jira UE-54652

Change 3869660 by Martin.Wilson

	Fix missing message bus sources in the live link client (not repolling for new sources)

	#Jira UE-54712

Change 3869659 by Guillaume.Abadie

	Fixes SimpleComposure's BP_AdvancedCompositing keep allocating memory every frame.

	Credits for fixing the issue to Ron Radeztsk.

	#jira UE-54780

Change 3869401 by Lauren.Ridge

	Adding to the conditional in FindAllAncestorNamedSlotHostWidgetsForContent

	#jira UE-51470

Change 3869384 by Brandon.Schaefer

	Open the project in the explorer when NullSourceCodeAccess is done creating the project

	#jira UE-54630

Change 3869308 by Ben.Marsh

	PR #4452: Fixed FindFilesRecursively in IPlatformFilePak (Contributed by user37337)


	#jira UE-54568

Change 3869265 by Martin.Wilson

	Fix crash and subsequently found issues with unloading/reloading Maya Live Link plugin
	-Crash on reload due to core code getting reinitialize, made this a one time only thing (as Maya never gets rid of the module from memory)
	-Added manual ticking of FTicker, allows message bus objects to be cleaned up properly (cannot do this as part of normal flow as it is in engine code which we dont have)
	-rebuild binaries for Engine/Extras

	#Jira UE-54643

Change 3869206 by Benn.Gallagher

	Fixed crash updating clothing paint mode after tab spawners have been destroyed by the hosting application.

	#jira UE-54116

Change 3869064 by Benn.Gallagher

	Resolved skeletal mesh data changes and clothing section disable changes after collision. Re-added ability to disable sections at the mesh level and removed the ability to strip editor sections as these are required for a number of other features to correctly function.

	#jira UE-52557

Change 3869062 by Guillaume.Abadie

	Fixes "dynamic resolution is not supported on this platform" warning message being always visible.

	#jira UE-54655

Change 3868202 by Lauren.Ridge

	Fix for assert on expanding vector param in layered material
	#jira UE-54737

Change 3868161 by zak.parrish

	Replacing FaceARDebugUI with a blank UI until a new one can be created, due to a crash bug. #rb none #JIRA UE-54639

Change 3867750 by Ethan.Geller

	[4.19] #jira UE-54725 Fix for Envelope attack and release values not being properly set on Synth Components #rb aaron.mcleran #lockdown cristina.riveron

Change 3867657 by Lauren.Ridge

	Adding if with editor wrapper to new function
	#jira cis fix

Change 3867646 by Aaron.McLeran

	#jira UE-53867 Access violation on Switch when playing sound with specified time out of range

Change 3867340 by Lauren.Ridge

	Fixes to Material Layers from 4.19 preview feedback
	-Need to pass through base attributes better/have better default nodes in layer (optional Example Layers and Blends checkbox now enables this in Experimental Settings)
	-Parent in function should be editable
	-Enforce only two layers in a blend
	-Mat layer should warn if it has incorrect output in the layer itself
	-Enforce not being able to delete outputs
	-Warn about creating a MAL node inside a function

	#jira UETOOL-1312

Change 3867317 by Aaron.McLeran

	#jira UE-53867 Access violation on Switch when playing sound with specified time out of range

Change 3867000 by Lauren.Ridge

	Fix for folder favorites possibly becoming very large
	#jira UE-54704

Change 3866892 by Martin.Wilson

	Fix crash if clicking ok on message bus add source without having a source selected

	#jira UE-54572

Change 3866391 by Matt.Kuhlenschmidt

	Fix static analysis

	#jira UE-53379

Change 3866241 by Ryan.Vance

	#jira UE-54681
	Fixed missing Vulkan texture GetNativeResource implementation that was lost in a bad merge.

Change 3866071 by Nick.Shin

	UDN 412414

	update HTMl5 readme file

	#jira none

Change 3866005 by Max.Preussner

	Messaging: Preventing dangling references when removing message subscribers

	#jira UE-54680

Change 3865988 by Simon.Tourangeau

	Fix static analysis warnings

	#jira none

Change 3865895 by zachary.wilson

	Renaming QA-PhysicalLightUnits to TM-PhysicalLightUnits in QAGame.

	#JIRA UE-29618

Change 3865469 by Simon.Tourangeau

	Support for DX11 quad buffer stereo rendering

	#jira UEENT-704

Change 3865461 by Chris.Babcock

	Add a wait for audio thread to pause audio on going to background
	#jira UE-54301
	#ue4
	#android

Change 3865350 by Matt.Kuhlenschmidt

	Fix issue where cascade emitter UI would disapper

	#jira UE-53379

Change 3865336 by Arne.Schober

	REL - Fix UE-52356 Bone Weight

	#jira UE-52356

Change 3865257 by Ben.Marsh

	Fix editor failing to load content-only projects when compiled in DebugGame.

	#jira UE-54661

Change 3865238 by Simon.Tovey

	Pulling Olaf's fix from 3832595 over to release

	#tests EngineTests boots in vulkan
	#JIRA UE-54394

Change 3865191 by Sorin.Gradinaru

	UE-54317 DXT apps fail on first launch when 'For Distribution' enabled, Unsupported Texture Format

	#jira UE-54317
	#Android
	#4.19

	From //Dev-Mobile/3863322

Change 3865190 by Sorin.Gradinaru

	UE-54175 Selecting For Distribution no longer sets configuration to Shipping

	#UE4
	#4.19
	#jira UE-54175

	From //Dev-Mobile/3863371
	"For Distribution" enable-> reset "Build COnfiguration" to Shipping and force serialization to DefaultGame.ini (see UE-52845)

Change 3865056 by Jamie.Dale

	Fixed culture being incorrect when added via the Localization Dashboard

	#jira none

Change 3864826 by Max.Preussner

	WmfMedia: Added missing scope lock

	#jira UE-54365

Change 3864055 by Aaron.McLeran

	#jira UE-54213

	Crash fix for GC'd plugin settings objects. Adding to AddReferencedObjects.

Change 3863775 by Andrew.Porter

	MediaFrameworkTest: Removing Platform Media Source TVOS test content

	#jira UE-29618

Change 3863714 by Dan.Oconnor

	Make array, set, and map nodes no longer switch object type when a pin is disconnected. Also, you can no longer attach unrelated map types to the MakeMap node if only the value pin has been inferred

	#jira UE-54634

Change 3863696 by Max.Chen

	Sequencer: Fix crash open a new sequence while another is still active.

	#jira UE-54620
	#jira UE-54624

Change 3863638 by Dan.Oconnor

	Make sure all blueprints that are skeleton compiled get a BroadcastChanged notification, also run BroadcastChanged after reinstancing, matching pre compilation manager behavior
	#jira UE-54193

Change 3863494 by Jamie.Dale

	Ensure Py_SetPythonHome is set correctly before the embedded Python interpreter is initialized

	#jira UE-54345

Change 3863433 by Max.Preussner

	MediaPlayerEditor: Removed tvOS from list of available platforms in Platform Media Source assets

	tvOS currently reports itself as iOS, so it cannot have its own setting.

	#jira UE-54559

Change 3863406 by Lauren.Ridge

	Fix for a crash when filtering a dropdown with no set value
	#jira UE-54631

Change 3863238 by Michael.Kirzinger

	#jira UE-52730: Fix mac voip crash

Change 3862586 by Marc.Audy

	Clean up rendering thread heartbeat checks that got mangled in various integrations

	#jira

Change 3862247 by Guillaume.Abadie

	Fixes editor lines that were using a simple element blending mode that was generating an incorrect alpha channel.

	#jira UE-53830

Change 3862120 by Guillaume.Abadie

	Fixes USceneCaptureComponent::HiddenActors always staying gray out in world editor.

	#jira UE-51458

Change 3861363 by Jamie.Dale

	Static analysis fixes

	#jira none

Change 3861150 by Matt.Kuhlenschmidt

	Fix static mesh editor displaying 0 for all stats on LODs > 0

	#jira UE-53776

Change 3860990 by Dan.Oconnor

	Clear subobjects not recreated on load, e.g. because we're running with -game and the subobject was created using CreateEditorOnlySubobject
	#jira UE-54551

Change 3860972 by Nick.Shin

	HTML5 - detect "SyntaxError: " and do a forced reload

	- an actual syntax error would be caught during compile time
	- this is usually error condition is usually seen when browser is running "old/partial" cached data and it's fairly safe to just reload the page

	#jira UE-54017  QAGame fails to launch properly on HTML5 Firefox 64 bit

Change 3860951 by Arne.Schober

	Fix not releaseing SRV on render thread for FPositionVertexBuffer, FStaticMeshVertexBuffer, FColorVertexBuffer, FStaticMeshInstanceBuffer.

	#jira UE-54587

Change 3860950 by tim.gautier

	QAGame: Updating ML_Stone to include Texture Coordinate and Panner functions
	#jira UE-29618

Change 3860833 by Michael.Dupuis

	#jira UE-54181: Repopulate the foliage list when existing simulate mode
	Let the GC know that internal struct hold UObject ptr

Change 3860762 by Jamie.Dale

	Ensure we invoke the correct version of Python from UBT

	#jira UE-54345

Change 3860676 by Simon.Tourangeau

	Remove DirectoryWatcher warning in output log

	#jira UEENT-846

Change 3860598 by Lauren.Ridge

	Fix for crash on opening new material instance
	#jira UE-54589

Change 3860338 by Michael.Lentine

	Integrate changes for fixing MorphTargets.

	#jira 54398

Change 3860215 by Ben.Marsh

	UAT: Fix exception consturcting target rules assembly inside UAT, now that there's an abstract TargetRules class.

	#jira UE-54578

Change 3860186 by Matt.Kuhlenschmidt

	Fix crash top 10 with the font editor shutting down and then a dpi event occuring

	#jira UE-54543

Change 3859854 by Graeme.Thornton

	PR #4124: VSCode: Changed VisualStudioCodeSourceCodeAccessor to work with non-default VSCode install paths on Linux (Contributed by christopherreed)


	#jira UE-51289

Change 3859848 by Graeme.Thornton

	Fix crypto.cs reading the wrong ini setting names for uasset encryption settings

	#jira UE-54566

Change 3859684 by Ben.Marsh

	PR #4436: Fix compile error when building BlankProgram because incorrect directory path (Contributed by windkey)


	#jira UE-54392

Change 3859657 by Ben.Marsh

	Fix FTransform being passed by value, causing alignment error when compiling for Win32.

	#jira

Change 3859312 by nick.bullard

	Updating AEOverviewMan to remove reference to sub-level AEOverviewSWP which was deleted in 3859278
	Still need to update menu to remove selection

	#jira UE-50784

Change 3859278 by Nick.Bullard

	Deleteing AEOverviewSWP.umap per request of Developer. Also updated TM-AnimPhys which refereneced this map as well.

	"This test map is a custom C++ implementation of a "procedural sound wave". This code is super janky and not worth fixing up. I'm sure there's a legit thread safety problem in there but the code is in QAGame only.

	We've since implemented "synth components" which do what this test does in a much safer/better way and maintaining/testing this old thing is *not* worth the time."

	#jira UE-50784

Change 3859124 by Dan.Oconnor

	Fix long standing crash when duplicating a blueprint that is missing its parent class. Entries in CrashReport go back to 4.16

	#jira UE-54468

Change 3859086 by Ryan.Vance

	#jira UE-54470

	We need to set the viewport in both cases.

Change 3859006 by Dan.Oconnor

	Revise fix for archetype lookup when reinstancing. During compilation we do not want to force use of the up to date class

	#jira UE-54541

Change 3858990 by mason.seay

	Cleaned up blueprints to remove compile errors

	#jira UE-29618

Change 3858945 by Aaron.McLeran

	#jira UE-54265

	PR #4428: Fixing Envelope Bug in AudioMixer (Contributed by Chrispykins)


Change 3858719 by Aaron.McLeran

	#jira UE-54552 Fix for sample buffer reader

Change 3858647 by Ethan.Geller

	PR #4439: Removes ambiX -> FuMa conversion (Contributed by mgorzel)

	#jira UE-54407

Change 3858364 by Michael.Dupuis

	#jira UE-52049: There was a case where adding and removing multiple time would lead to reordering the instances and this would cause the regeneration of the random stream for all the reorded instances.

Change 3858268 by Dan.Oconnor

	Prevent postload logic running on REINST and SKEL classes

	#jira UE-54531

Change 3858205 by Mitchell.Wilson

	Removed particle looping from some emitters to resolve anim notify warnings.
	#jira UE-53823

Change 3858148 by Lauren.Ridge

	Changes based on Material Layer Feedback from previews
	- (Temporary) Disabled being able to create a layer or blend in the asset dropdown
	- Sections of the stack that have been disabled now inactivate that part of the UI
	- Create Function Instance now indicates if you are making a layer or a blend
	- Parent dropdown has been removed from layers and blends. Where relevant, a filter button has been added instead.

	#jira UETOOL-1328

Change 3857933 by Michael.Dupuis

	#jira UE-45854: Properly unregister callback when replacing foliage type with another one

Change 3857898 by Michael.Dupuis

	#jira UE-54396: Remove the Ensure as it could be possible that the Landscape Info is invalid during an undo operation

Change 3857878 by Max.Chen

	Sequencer: Assign the sequence id after the template is compiled.

	Copy from Dev-Sequencer

	#jira UE-54462

Change 3857808 by Michael.Dupuis

	#jira UE-54421: Prevent edition during Simulate when clicking on actor

Change 3857786 by Rolando.Caloca

	UE4.19 - Fix recompute tangents and skin cache for OpenGL

	#jira UE-42108
	PR #3271

Change 3857549 by Lina.Halper

	another jittering issue due to revision number change
	clear the motion vector after compile

	#jira: UE-53930

Change 3857439 by Lina.Halper

	Clear motion vector when end of sequencer when in editor world

	#jira:UE-54057

Change 3857384 by Graeme.Thornton

	Restore fix for visual studio source code accessor not correctly determining that a content project has no solution and opening a fresh instance of visual studio

	#jira UE-50020

Change 3856596 by Chris.Babcock

	Fix ResonanceAudioApi Android library architecture filtering
	#jira UE-54478
	#ue4
	#android

Change 3856449 by Michael.Dupuis

	#jira UE-35097: Various cosmetic changes that were done in phase 2 that help improve clarity of the design.

Change 3856415 by Dan.Oconnor

	Fix regression when loading instances that have had their class deleted. Issue detected by static analysis

	#jira UE-54467

Change 3856332 by Ben.Marsh

	Resaving TP_HandheldARBP assets to fix version again.

	#jira

Change 3856319 by Ben.Marsh

	Back out changelist 3855588

	Causes build failure in UFE because it introduces a dependency on the Engine module. UFE compiles with WITH_ENGINE = 0.

	#jira UE-54472

Change 3856292 by Ben.Marsh

	Fix app-local dependencies not being included in binary builds, and only working for code projects in source builds.

	#jira UE-54448

Change 3856190 by Martin.Wilson

	Fix bone access mismatch between raw mesh bones and final bones (that include virtual bones too)

	#jira UE-54266

Change 3856169 by Ben.Marsh

	Tag XGEControlWorker.exe as a build product, so it's included in the binary distro.

	#jira UE-54283

Change 3856123 by Chris.Babcock

	Fix missing ARCore file
	#jira UE-54453
	#ue4
	#android

Change 3856005 by Richard.Wallis

	Clone of Dev-Rendering CL 3855993 - turn off FShaderCache.

	#jira UE-52928

Change 3855961 by Jian.Ru

	Copy 3855047 - fix DFAO Nan problem
	#jira UE-54403

Change 3855811 by Martin.Wilson

	Add build process for Maya Live Link plugin (standalone, manually triggered) + add built binaries to Engine/Extras (Maya 2016, Maya 2017, Maya 2018)

	#jira none

Change 3855758 by Cosmin.Sulea

	UE-53569 - tvOS does not package or launch-on

	#jira UE-53569

Change 3855727 by Ben.Marsh

	Resaving assets with a versioned build in the editor, to fix warnings building DDC.

	#jira

Change 3855626 by Adrian.Siminciuc

	https://jira.it.epicgames.net/browse/UE-50979 (MP4 doesn't resume playback when iOS 11 device wakes from sleep)

	#jira UE-50979

Change 3855588 by Graeme.Thornton

	Fix visual studio solution path being incorrect for content projects

	#jira UE-50020

Change 3855283 by Ben.Marsh

	Fix race condition where stdout/stderr write handles could be inherited by multiple processes, resulting in them not being closed (and the process exit being detected) until all processes that inherited them had been closed. Improves performance of ParallelExecutor.

	#jira

Change 3855009 by Chance.Ivey

	Resaving with version number. #JIRA-54330 #rb none

Change 3854943 by Dan.Oconnor

	Fix archetype lookup when searching hierarchy that has been partially reinstanced

	#jira UE-53840

Change 3854882 by Ryan.Vance

	#jira UE-54438

	Removing vr related references to screen percentage.
	Removing previously removed gvr screen percentage code that came back in an integration from google.

Change 3854806 by Mike.Beach

	Mirroring part of CL 3802176 to fix a crash that can occur when users try to use the default 'DisplayModel' on MotionController components. Also provided users a better error message to explain why a model might not be showing up.

	#jira UE-54214

Change 3854680 by Chance.Ivey

	Saving assets with version number#JIRA UE-54330 #rb none

Change 3854652 by Uriel.Doyon

	Added a tooltip to the EV100 slider in the exposure menu.
	Using game settings now disables the slider.
	#jira UE-53945

Change 3854605 by Dan.Oconnor

	Make sure we don't create objects outered to a placeholder object, also make sure that archetypes that are reinstanced on load are relinked in to the linker table so that they are postload'd (and the old instance isn't)

	#jira UE-53954

Change 3854274 by Brandon.Schaefer

	Changes in CL 3842286 changed the function glslang::GlslangToSpv and requires a rebuild on Linux

	#jira UE-54302

	#codeview Arciel.Rekman

Change 3854255 by Phillip.Kavan

	Fix a scoping issue for local instanced subobject references in nativized Blueprint C++ code. Also, don't emit redundant assignment statements for instanced subobject reference properties.

	- Mirrored from //UE4/Dev-Framework (3853349).

	#jira UE-53960

Change 3854177 by Ethan.Geller

	#jira UE-54415 set EnabledByDefault to false for Resonance Audio

Change 3854123 by Ethan.Geller

	#jira UE-54410 set AudioComponentID

Change 3853775 by Lauren.Ridge

	Minor cleanup
	#jira UE-54054

Change 3853772 by Lauren.Ridge

	Don't create widgets when just testing if the selected widget is a replacement candidate
	#jira UE-54054

Change 3853715 by Rolando.Caloca

	UE4.19 - Fix for OpenGL overwriting texture units

	#jira UE-54401

Change 3853655 by Ben.Marsh

	Add a retry loop on creating the first directory before copying files. Attempt to work around problems copying to shared folders.

	#jira

Change 3853535 by Ben.Marsh

	Expose the engine compatible changelist to Perforce. If EnginePatchVersion > 0, this will be the changelist of the original .0 release.

	#jira

Change 3852583 by Nick.Atamas

	Resaved assets so they don't produce DDC warnings.
	#jira none

Change 3852552 by Uriel.Doyon

	Fixed Pre-Exposure shader compilation and Temporal AA issue.

	#jira UE-54276

Change 3852354 by Nick.Atamas

	Hopefully fixes the static analysis warning from jira issue.
	#jira UE-54332

Change 3852281 by Nick.Atamas

	Merging CL 3851690 from //Tasks/UE4/Dev-VR-4.19a/... to //UE4/Telease-4.19/...
	#jira UE-54331

Change 3852274 by Simon.Tourangeau

	Back out changelist 3851041 until Win7 issue is resolved.

	#jira UE-54354

Change 3852208 by Jamie.Dale

	Merging CL# 3821754 from //UE4/Dev-Enterprise

	Class property conversion now goes through NativizeClass/PythonizeClass

	This allows it to coerce from Python wrapped object types

	#jira none

Change 3852202 by Jamie.Dale

	More explicit handling of EngineDir for Python SDK

	#jira UE-54345

Change 3851982 by Brandon.Schaefer

	Workaround using a hardcoded path

	#jira UE-54136

Change 3851748 by Michael.Dupuis

	#jira UE-53904: Put the code back to what it was before, as we really only want to perform this code if bIsLayerThumbnail is true, it was changed to fix another issue complaining about a missing shader, that end up being added to the existing functions

Change 3851545 by Marc.Audy

	Remove debugging code that slipped in

	#jira none

Change 3851461 by Ben.Marsh

	Fix #includes with backslashes from crashing UBT.

	#jira UE-53996

Change 3851391 by Jamie.Dale

	Updated Python to prefer our TPS SDK

	#jira UE-54345

Change 3851372 by Jamie.Dale

	Added bat file to copy the Python SDK into TPS

	#jira UE-54345

Change 3851218 by Ben.Marsh

	Add missing template to installed engine build.

	#jira UE-54339

Change 3851117 by andrew.porter

	QAGame: Removing duplicate map

	#jira UE-29618

Change 3851041 by Simon.Tourangeau

	Support for DX11 quad buffer stereo rendering

	#jira UEENT-704

Change 3850548 by Ben.Marsh

	Add TP_HandheldARBP to installed engine build.

	#jira

Change 3850424 by Ben.Zeigler

	Fix reported memory for asset registry to be correct, extracted from a larger change

	#jira none

Change 3850324 by Ryan.Vance

	#jira UEVR-1050

	Hook up the Rift dynamic res to the new IDynamicResolutionState framework

Change 3849819 by JeanLuc.Corenthin

	Unhide Datasmith plugins in "regular" projects to allow easy project conversion

	#jira UEENT-795

Change 3849302 by Martin.Wilson

	Live Link is no longer experimental in 4.19 (moved from experimental folder to Animation)

	#jira none

Change 3849238 by Max.Chen

	Sequencer: Remove bKeepStaleTracks so that stale tracks are now always purged.

	#jira UE-54248

Change 3849211 by Michael.Dupuis

	#jira UE-54181: Prevent foliage edition during PIE or simulate mode

	#coderevire jack.porter

Change 3849123 by Benn.Gallagher

	Fixed crash in clothing actor creation when the clothing simulation mesh has no simulated vertices

	#jira UE-53741

Change 3849120 by Benn.Gallagher

	Fixed crash adding empty materials to destructible meshes in the destructible mesh editor

	#jira UE-53938

Change 3849047 by Jurre.deBaare

	Move material baking out of experimental
	#fix follow-up also remove the entry from experimental settings
	#jira UE-52685

Change 3848808 by Michael.Dupuis

	#jira UE-35097: Remove IncludeTessellationInShadowLOD & RestrictTessellationToShadowCascade from 4.19 as there is currently a bug regarding this in the dynamic rendering code path and would be too risky to fix for now.
	Fixed dynamic shadow code path issue vs static code path

Change 3848659 by Lina.Halper

	Fix issue with animation resetting in the sequencer

	#jira: UE-54047

Change 3848635 by Rolando.Caloca

	UE4.19 - Fix static analysis

	#jira UE-50449

Change 3848515 by Sorin.Gradinaru

	Unshelved from pending changelist '3843541':

	WebBrowser Android crash on 4.4.3

	#jira UE-53247
	#Android
	#4.19

	Crash on Android 4.x.x caused by a call to a Api Level 21 method

Change 3848514 by Jurre.deBaare

	Moving over:
	CL 3832173
	"Failed to import Alembic files
	#jira UE-53941
	#fix Change Alembic thirdparty library setup
		- Removed old unused library files
		- Updated batch files for building HDF5 ILMBase and Alembic libraries to use new AlembicDeploy path
		- HDF5 is now build as a Dynamic library (which also enableds multi-threading)
		- Added DLLs for HDF5 to build.cs file

	CL 3838053
	"Adding missing hdf5 dynamic libraries

Change 3848245 by Ben.Marsh

	Downgrade warning about not using XGE shader compilation to a log message. Build machines do not have XGE.

	#jira UE-54237

Change 3847300 by Phillip.Kavan

	Fix shadowed local variable.

	#jira UE-54141

Change 3846922 by Max.Preussner

	ImgMedia: Fixed image media player never finished initialization if loading failed

	Copied from Dev-Sequencer CL# 3846902

	#jira UE-54247

Change 3846831 by Arciel.Rekman

	Linux: only use lld for x86_64 (UE-54144).

	- lld support for other architectures seems to not ready for prime time.

	#jira UE-54144

Change 3846771 by Lauren.Ridge

	Material window now uses the background color set in preview scene.
	#jira UE-52215

Change 3846705 by Ben.Marsh

	Fix batch file paths not being quoted correctly when run through XGE.

	#jira

Change 3846550 by Lauren.Ridge

	Toggling Show Background now updates the background as well
	#jira UE-52250

Change 3846417 by Matt.Kuhlenschmidt

	Fix crash resizing shootergame window

	#jira UE-53137

Change 3846295 by Rolando.Caloca

	UE4.19 - New Vulkan descriptor pooling mechanism (enabled on non-android)

	#jira UE-50449

Change 3846273 by tim.gautier

	QAGame: Updating Material Layer test assets to include more Params
	- Added temp assets, quicker repros for bugs
	#jira UE-54176, UE-54165

Change 3846255 by Lauren.Ridge

	Parameter tab is the primary tab for material instances

	#jira UE-54092

Change 3846086 by Chris.Babcock

	Add missing SecureHash.h include
	#jira UE-54026
	#PR #4417
	#ue4
	#android

Change 3846049 by Martin.Wilson

	Fix Set Root Motion Enabled Anim Data Modifier node (previously didn't set the enabled flag)

	#jira UE-54220

Change 3846033 by Martin.Wilson

	Fix root motion being repeatedly applied ( Clear() call only clears bHasRootMotion flag, not the transform itself )

	#Jira UE-54219

Change 3845991 by andrew.porter

	QAGame: Updating bindings on activechannels sequencer test content

	#jira UE-29618

Change 3845933 by Lauren.Ridge

	Check for original material being valid

	#jira UE-54166

Change 3845920 by Martin.Wilson

	Optimized redundant key removal

	#jira UE-51303

Change 3845812 by Matt.Kuhlenschmidt

	Fix not being able to change BSP brush shape

	#jira UE-53738

Change 3845790 by Martin.Wilson

	Fix for assert failure when accumulating root motion in debug.

	#jira UE-53955

Change 3845730 by JeanLuc.Corenthin

	Fix build breakage
	warning: resaved disc.uasset with 4.19.0 preview #1
	failure: set the correct default mesh for AreaLightStruct.uasset

	#jira none

Change 3845693 by Lina.Halper

	Fix issue with previewing pose asset with curve data

	#jira: UE-53967

Change 3845533 by Andrew.Rodham

	Sequencer: Fixed sub sequences potentially being loaded during AddReferencedObjects

	#jira UE-54173

Change 3845472 by Thomas.Sarkanen

	Prevented debug object selection dropdown from displaying objects with pending kill outers

	#jira UE-54045 - Animation Blueprint Editor Crashes on Compile if the Debug Instance Selection is Other Than No Object or Preview Instance

Change 3845401 by Yannick.Lange

	Reverting thumbnail capture from viewport.
	#jira UE-53775
	#jira UE-53701

Change 3844693 by JeanMichel.Dignard

	Changed IES texture brightness to be the max candela value and set the texture multiplier to be 1. This fixes the IES lights intensity being too high.

	#jira UEENT-632

Change 3844689 by JeanLuc.Corenthin

	Update Datasmith content assets to latest

	Copying fix from Dev-Enterprise by Jean-Luc Corenthin CL 3809803
	Updated assets with correct release version
	Cleanup some paths on static meshes and texture

	#jira UEENT-759
	#jira UEENT-657

Change 3844571 by Martin.Wilson

	Fix motion controller motion source pin still showing when pin is connected to something

	#Jira UE-53236

Change 3844564 by Martin.Wilson

	Due to previously fixed bug some anim blueprint nodes could have duplicated guids, this fixes them

	#Jira UE-54174

Change 3844545 by Jamie.Dale

	No longer attempt to parse group separators for numeric inputs

	This avoids some ambiguity when parsing numbers for languages such as German

	#jira UE-54170

Change 3844221 by Nick.Shin

	HTML5 - filter out "windows/super" keys - these are not used in UE4

	- but, keycode are not the expected "91 or 92" values, SDL keys are "227 & 231" instead...

	#jira UE-54056  HTML5 crashes inside browser upon pressing windows key

Change 3843937 by JeanMichel.Dignard

	Fixed a crash when right clicking on a static mesh for which its AssetImportData class is currently unavailable (ie: in an unloaded plugin).

	#jira UEENT-764

Change 3843929 by Peter.Sauerbrei

	pull over fix for bad directory when copying launch images
	#jira UE-53177

Change 3843658 by Thomas.Sarkanen

	Text is red again in anim viewports

	#jira UE-53224 - Colouring removed from "Animation is being edited" warning messages

Change 3843657 by Thomas.Sarkanen

	Enable picking via Enter for details panel asset pickers

	The previous (4.18) behavior was to only allow selection of the previous/next item in the list with arrow keys. A fix (CL 3783114) for pickers with many assets broke this. This change now allows for selection of any item by navigating with arrow keys and pressing Enter, as suggested in the Jira.

	#jira UE-53440 - Unable to select assets within modal Asset Selection dropdowns after navigating with keyboard entry

Change 3843120 by Dan.Oconnor

	Avoid fixing component template games outside the editor, this logic does not work for games that have been nativized
	#jira UE-54009

Change 3842841 by Ben.Zeigler

	#jira UE-50020
	Switch visual studio module back to using absolute paths so go to definition works, broken in CL #3796157

Change 3842582 by Lauren.Ridge

	Guards against the widget passed to scrollwidgetintoview being null
	#jira UE-54037

Change 3842575 by Max.Chen

	Sequence Recorder: Stop recording if the preview window is destroyed.

	#jira UE-49778

Change 3842551 by Michael.Dupuis

	#jira UE-35097: Minor bug fix, documentation, etc. to the landscape optim that was done in the phase 2 that have 0 risk.

Change 3842371 by Max.Preussner

	Media: Merged 4.19 fixes from Dev-Sequencer

	CL 3807293 WmfMedia: Fixed YUY2 video format strides
	CL 3827988 MediaPlayerAssets: Fixed Media Texture is not linked to Media Player when created together
	CL 3805414 MediaAssets: Setting valid GUID when initializing media texture resource
	CL 3804183 MediaAssets: Added missing lock in media sound component
	CL 3831580 MfMedia: Media open events generated in same order as on other platforms
	CL 3807193 WmfMedia: Fixed incorrect buffer stride for RGB32 video tracks

	#jira UE-53532
	#jira UE-53328

Change 3842356 by Max.Preussner

	ImgMedia: Fixed ensure when cooking project that uses ImgMediaSource

	#jira UE-51631

Change 3842335 by Aaron.McLeran

	#jira UE-54087

	PR #4419: Fixes a crash due to nullptr dereference (Contributed by mgorzel)


Change 3842286 by Rolando.Caloca

	UE4.19 - Fix for static analysis
	- Glslang 1.0.65.1

	#jira UE-54128

Change 3842222 by andrew.porter

	QAGame: Updating framerate of EXR_Sequence

	#jira UE-29618

Change 3842211 by Ben.Marsh

	Fix determination of Windows version string. The manifest for UE4 applications declares compatibility with Windows 10 nowadays, so we get accurate version numbers returned from GetOSVersionInfo().

	#jira UE-54035

Change 3842163 by Cosmin.Sulea

	UE-53303 - We do not check for remote connection before attempting remote shader compile, causing crashes when misconfigured

	#jira UE-53303

Change 3841770 by Max.Chen

	Sequencer: Fix to allow keying of an arbitrarily deep property path.

	#jira UE-54095

Change 3841758 by Max.Chen

	Sequencer: Fix unbound possessable components when pasting spawnables.

	#jira UE-54104

Change 3841415 by Lauren.Ridge

	Renaming a material layer or material layer blend will no longer cause the asset to appear removed from the stack
	#jira UE-53942

Change 3841327 by Arciel.Rekman

	Linux: fix Debug build (UE-53855)

	- A workaround. UBT should be using proper PCH files instead.

	#jira UE-53855

Change 3840975 by Rolando.Caloca

	UE4.19 - Updated VulkanRHI
	- Fixes for GPU frame time
	- Fixes for CPU performance

	#jira UE-50449

Change 3840838 by Michael.Dupuis

	#jira UE-53944: Make sure the LOD generated is in the valid range to prevent the crash

Change 3840693 by Ben.Zeigler

	#jira UE-53923 Fix regression in 4.19 where PrintScriptCallstack is not always safe to call from the immediate window. I narrowed down the issue to some confusing optimized code so I turned off optimization
	Copy of CL #3840692

Change 3840680 by Aaron.McLeran

	Bringing fixes from Dev-AnimPhys to 4.19.

	#jira UE-53903 crash on load with oculus audio and old audio engine
	#jira UE-52786, UE-53910 Fix for broken spatialization on xaudio2, old audio engine.

Change 3840663 by Rolando.Caloca

	UE4.19 - Fix for layout ensure on HMD projects on Vulkan

	#jira UE-50265

Change 3840577 by Rolando.Caloca

	UE4.19 - Fix for CPUs with more than 16 cores

	#jira UE-53434

Change 3840551 by andrew.porter

	QAGame: Setting Allow Bindings from Asset to false

	#jira UE-29618

Change 3840491 by Ben.Zeigler

	#jira UE-31662 Fix regression with renaming parent inherited function. It was not correctly searching the parent's skeleton class during the child's recompile so it was erroneously detecting the parent function as missing
	Copy of CL #3840489

Change 3840297 by Max.Chen

	Sequencer: Fix copy/paste crash for lights

	#jira UE-54084

Change 3840284 by Michael.Dupuis

	#jira UE-53053: Was having a mismatch between the remove reorder and the actual remove

Change 3840215 by Sorin.Gradinaru

	Unshelved from pending changelist '3812852':

	UE-53550 Level doesn't render on Lenovo 939
	UE-53592 Assertion right after rendering scene on Lenovo S939

	#jira UE-53550
	#jira UE-53592
	#4.19
	#Android

	UE-53550
	Removed force disabling texture2DLodEXT and textureCubeLodEXT on Mali-400 devices
	The problem was that the shader compiler complains about code lines before the #extension directives.
	Placeholder // end extensions in the original shader code - to be replaced with round() functions

	UE-53592
	Always use a new task for devices that have GIsThreadedRendering=false, even when the call is from the rendering thread

Change 3840048 by Michael.Dupuis

	#jira UE-52975: Was always performing the equivalent of an Add, so now we use the Transform during the duplicate

Change 3840005 by Richard.Wallis

	Clone of CL 3835252

	Fix for shader library not working with iterative cooking, also fixes native Metal library not working with iterative cook.  This works by saving a "backup" of the shader library file - this is reloaded only during iterative cook and adds back in shaders that are missing from the current cook.

	Fix for extracting/searching .metal files in different directories so debug tgz archiving wasn't working correctly and also support iterative cook.

	Includes first pass code review suggestions by Mark Sat and Dmitriy Dyomin.

	#jira UE-53815

Change 3839968 by Michael.Dupuis

	#jira UE-52289: When OnRegister is called on the component make sure our PerInstanceRenderData is up to date
	Prevent a possible crash if ClearInstanceSelection was called on a component with no PerInstanceRenderData existing

	##codereview jack.porter

Change 3839924 by Richard.Wallis

	Clone of CL 3838093

	Fix for rewind / seek bugs in AvfMediaPlayer.

	- Don't initialise and send audio buffers that have a duration of Zero from the audio tap.  This chokes the audio sink and adds overhead we don't need.
	- Don't faff around with current play rates during loop operation - normal seek doesn't do this so loop seek shouldn't either.
	- SetRate() should not required to be passed to media tracks - should be enough to do this on audio track select only.

	#jira UE-54019, UE-53027

Change 3839321 by andrew.porter

	QAGame: Adding missing bookmark to QA-Sequencer_Blending

	#jira UE-29618

Change 3839286 by Marcus.Wassmer

	Duplicate CL: 3823296
	#jira UE-52784

Change 3839229 by Brandon.Schaefer

	Fix audio clean up crash when exiting PIE

	#jira UE-54050

	#review-3839109 @Arciel.Rekman, @Aaron.McLeran

Change 3839223 by andrew.porter

	QAGame: Rebinding pointlight actor to sequences

	#jira UE-29618

Change 3839098 by andrew.porter

	QAGame: Fixing missing sequencer blending test content

	#jira UE-29618

Change 3838919 by Mike.Erwin

	glTF: binary format's BIN chunk is not necessarily right after the JSON chunk.

	Discussed this with glTF spec authors. See https://github.com/KhronosGroup/glTF/issues/1177

	Rearranged how we read "chunks" from the file since they are not fixed in number or order, besides JSON always being first.

	#jira UE-50695

Change 3838909 by Mike.Erwin

	glTF: base64 decoding of data buffers and images

	Data can be encoded inside the glTF JSON as a Base64 data URI. This CL addresses a known limitation of initial commit CL 3793018. I added this after because base64 is expected to be uncommon in the wild. Authoring software will typically use external BIN files (.gltf) or a BIN chunk (.glb) to store data.

	#jira UE-50695

Change 3838812 by Uriel.Doyon

	Integrated CL 3838576, 3838581 and 3831760 from DevRendering, fixing issues with texture streaming.

	#jira none

Change 3838773 by Lauren.Ridge

	Fixing material layer filters

	#jira UE-54064

Change 3838748 by Michael.Trepka

	Fixed EngineTest runtime warning caused by CL 3838626

	#jira UE-53893

Change 3838730 by Max.Chen

	Sequencer: Add notification when the blend type is changed.

	#jira UE-54046

Change 3838626 by Michael.Trepka

	Changed FMacMenu to store MultiBox and MenuEntryBox as weak pointers instead of shared pointers. This way we avoid a situation where FMacMenu would try to release them on the main Cocoa thread or where we'd try to execute a menu action for menu items that Slate considers released.

	#jira UE-53893

Change 3838392 by Arciel.Rekman

	Fix assert on a policy removal (UE-54042).

	- Applying Gil's safe fix which just sweeps the problem under the rug.

	#jira UE-54042

Change 3838162 by Arciel.Rekman

	Linux: fix crash due to lambda lifetime issues (UE-54040).

	- The lambda goes out of scope in FBufferVisualizationMenuCommands::CreateVisualizationCommands, crashing the editor if compiled with a recent clang (5.0+).

	#jira UE-54040

	(Edigrating 3819174 to Release-4.19)

Change 3838156 by Rolando.Caloca

	UE4.19 - Support for Vulkan devices that have no cached memory type

	#jira UE-54039

Change 3838096 by Brandon.Schaefer

	Set sound to unfocused volume multiplier if not focused

	#jira UE-51327

	#review-3835736 arciel.rekman

Change 3838087 by Brandon.Schaefer

	Fix arm server building. A fix from CL 3617084 remove inheriting from IHeadMountedDisplayVulkanExtensions. Remove overrides

	#jira UE-53901

	#review-3838088 arciel.rekman

Change 3837072 by Phillip.Kavan

	Fix for a build failure that could occur with Blueprint nativization enabled and EDL disabled. This was a regression introduced in 4.18.

	- Mirrored from //UE4/Dev-Framework (3836768).

	#jira UE-53908

Change 3837071 by Phillip.Kavan

	Emit proper syntax for set/map fields containing converted assets to generated C++ Blueprint class headers when Blueprint nativization is enabled.

	- Mirrored from //UE4/Dev-Framework (3835944, 3835965).

	#jira UE-42614

Change 3837070 by Phillip.Kavan

	#4202 -  Blueprint nativization bug fixes (PR).

	- Mirrored from //UE4/Dev-Framework (3830562, 3832292).

	#jira UE-52188

Change 3836507 by Ryan.Vance

	#jira UE-53992

	Due to hijacking the depth target directly from the scene context, we can't support depth compositing if it's being scaled by screen percentage since it wont match our color render target dimensions.

Change 3836390 by Dan.Oconnor

	Fix failure to resolve archetype when using the compilation manager

	#jira UE-53840

Change 3836251 by Ryan.Vance

	#jira UE-53992

Change 3835852 by Mark.Satterthwaite

	Fix tessellation shaders in Metal with Manual Vertex Fetch enabled:
	- The control points idnex buffer shouldn't collide with anything else.
	- We can't use the optimisation of loading texture width & height from the buffer meta-table in tessellation shaders as the combined stages don't guarantee not to clobber unused buffer slots and screw it up when we use linear textures.

	#jira UE-53851

Change 3835802 by JeanMichel.Dignard

	UBT changes for Enterprise deployment
	- Allow building enterprise against an installed engine version
	- Added enterprise to the cleanup process if its not installed

	#jira UEENT-748

Change 3835625 by Bogdan.Vasilache

	UE-50257 --> (Skeletal meshes silently fail to render if they have more than 75 bones) --> changed logged error with a warning
	#jira UE-50257

Change 3833649 by Mike.Beach

	Enabling debug layer when multiview is enabled.

	#jira UE-49954

Change 3833525 by Ethan.Geller

	Fix copyright in ActiveSound.cpp #jira none #rb none

Change 3642649 by Stewart.Lynch

	Renamed loctext key to stop it clashing with an existing entry

	#jira UE-49432

Change 3644762 by Stewart.Lynch

	LLM update: Added Total, Untracked and FMalloc Unused to LLMFULL stat page. Fixed occasionally missing allocs/frees. Removed platform csv.

	* removed CheckSize arg from OnLowLevelFree
	* show a warning in LLM Map when replacing existing value. This means that there has been an alloc/free mismatch.
	* minor optimization in LLMMap::GetMaxIndex - cache Mask value
	* added Total and Untracked stats to LLMFULL. LLMFULL now tracks almost all of the memory that LLMPlatform does, so there is no real need to use LLMPlatform. Removed the LLMPlatform csv.
	* added FMalloc Unused stat to LLMFULL to account for memory Binned2 has allocated internally. This can be used to track Binned2 fragmentation over time.
	* renamed Binned stats to FMemory to make it more general
	* added Default tracking to CustomVirtualAlloc and disable it where necessary. This catches the few VirtualAlloc calls that were missed.
	* added AllocType arg to all allocation tracking. This was needed in order to track the FMalloc total, and also to fix the pausing
	* fixed a bug in pausing where alloc/frees were being missed. Now only pauses a specific allocation type.
	* Trackers now maintain totals for each enum tag
	* tracking of Texture and mesh allocation on Windows D3D11 & D3D12

Change 3651334 by Joe.Barnes

	Fix misspelled function name.

	#jira 39441
	#3016

Change 3653857 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3653675 to //UE4/Dev-Console/...

Change 3656553 by Joe.Barnes

	Add path for SCS_DeviceDepth.

Change 3662703 by Ben.Woodhouse

	Merging CL 3659069 from //Fortnite/Main/... to to //ue4/dev-console/...:

	[FORTNITE] [CONSOLE] [+] Improved frame syncing mechanism
	 - Improves input latency by allowing the game thread to sync to the swap chain flip of the previous frame.
	 - Added "r.GTSyncType" CVar to control how the game thread syncs with the rest of the pipe.
	 - r.GTSyncType 2 will sync the game thread with the flip of the swap chain, preventing the pipe from getting too long and causing excess input latency.

	Platforms are required to implement RHIWaitForFlip and RHISignalFlipEvent, and call RHIInitializeFlipTracking on RHI startup.
	A separate thread monitors the progress of frame flips and signals task graph events as they pass their corresponding frame index.
	In r.GTSyncType 2 mode, the game thread is signaled by this flip tracking thread.

	[~] Unified platform specific sync interval CVars into one: rhi.SyncInterval
	 - 1 == 60Hz
	 - 2 == 30Hz
	 - 3 == 20Hz

Change 3675239 by Keith.Judge

	Fixed thread priorities for Windows so that BelowNormal and SlightlyBelowNormal are the same. Bumped Lowest down a notch so they all fit.

	#jira UE-50626

Change 3676709 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3675008 to //UE4/Dev-Console/...

Change 3689712 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3687781 to //UE4/Dev-Console/...

Change 3701778 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3699491 to //UE4/Dev-Console/...

Change 3677043 by Ben.Woodhouse

	From StewartL:
	I also found that on Windows Fortnite is overflowing int32 values due to the number of allocations. I changed LLMArray and LLMMap to use uint32 and it seems to be Ok now. I didn't want to check this in at the last minute, so here's the shelf: 3645336

Change 3726532 by Luke.Thatcher

	[CONSOLE] [~] Enable XGE shader compilation by default.
	 - Also set XGE mode to "force interception". With XGE on by default, we don't want people with an old Incredibuild version using the old system inadvertently.

Change 3726554 by Luke.Thatcher

	[CONSOLE] [+] Improved Scoped Named Events
	 - Added SCOPED_NAMED_EVENT(_FSTRING/_TEXT/_F) macros to allow use of string literals, FString and printf in scoped named event strings.
	 - Replaced explicit use of FPlatformMisc::Begin/EndNamedEvent throughout the engine with macros, so the events can be compiled out.
	 - Fixed performance issues on various platforms with named events. SCOPED_NAMED_EVENT macros were not considering whether the platform uses wide or ansi char strings.

Change 3751378 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3748735 to //UE4/Dev-Console/...

Change 3751812 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3750870 to //UE4/Dev-Console/...

Change 3728571 by Luke.Thatcher

	[CONSOLE] [!] Drop another XGE controller warning to log.

Change 3747150 by Joe.Barnes

	Add AuthoringToolHelper.bat file to installed build copy list.

Change 3768585 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3767531 to //UE4/Dev-Console/...

Change 3772333 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3771573 to //UE4/Dev-Console/...

Change 3786872 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3786785 to //UE4/Dev-Console/...

Change 3787279 by Luke.Thatcher

	[CONSOLE] [~] Unified present threshold CVars.
	 - CVars are now in RHIUtilities.cpp, and are renamed to rhi.PresentThreshold.Top and rhi.PresentThreshold.Bottom.
	 - Platform implementations will be checked in shortly.

Change 3787445 by Luke.Thatcher

	[CONSOLE] [^] Merging (as edit) improvements to low-latency frame syncing from //Fortnite/Main to //UE4/Dev-Console

	Original CLs
	 - 3708949 - Added rhi.SyncSlackMS cvar to allow an offset of the game thread sync time by a number of milliseconds.
	 - 3712693 - Fix for crash on startup in new frame syncing.
	 - 3735765 - Fix r.GTSyncType logic when vsync is disabled (falls back to old behaviour when vsync is off).

Change 3788417 by Ben.Woodhouse

	Duplicate from FN CL 3712515
	CSV profiler GPU and pre-declared stat support
	- refactor the GPU profiler so it's no longer dependent on the stats system and can work in Test builds
	- add support for pre-declared CSV stats, using FNames (these are required for GPU stats)
	- add DECLARE_GPU_STAT macro which handles STATS and CsvProfiler declarations
	Note: still a few issues to resolve with GPU stats: these randomly go to 0 at times during a replay on XB1, the GPU total is lower than the stat unit number, and the unaccounted stat is too large due to missing stats

Change 3807818 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3803271 to //UE4/Dev-Console/...

Change 3818577 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3812936 to //UE4/Dev-Console/...

Change 3821198 by Ben.Woodhouse

	Integrate from //UE4/Release-4.19/...@3820127 to //UE4/Dev-Console/...

Change 3821519 by Ben.Woodhouse

	Integrate from //UE4/Release-4.19/...@3820753 to //UE4/Dev-Console/...
	#robomerge none

Change 3813513 by Ben.Woodhouse

	CSV profiler refactor+ bug fix
	- Move the CSV profiler to core, so we can use it in modules other than engine
	- Profiler no longer enqueues RT commands - this is handled by a new core delegate type
	- Make begin/end requests more robust, enqueued via a command queue and processed in order
	- Defer end capture requests by a frame. This ensures stats on threads other than the gamethread (e.g. renderthread etc) are complete, so the last frame is not truncated
	- Fix long-standing bug with multiple captures where old/stale frames would appear in the first <128 frames of captures
	- Move unit stats and dynamic resolution out of the profiler itself and into the engine. Only frametime is recorded in the profiler now
	- Fix longstanding bug in first frame renderthread time in the engine

Change 3814039 by Ben.Woodhouse

	More Csvprofiler improvements
	- Event support (via CSV_EVENT macros). These appear in the "EVENTS" column of the CSV and can be used to add context to the stat data
	- Reduced memory overhead for timestamps through bit-packing (now 16 bytes per marker instead of 24), and splitting stats into different types

Change 3814041 by Ben.Woodhouse

	Integrate as edit CL 3796390 from Fortnite/Main:

	Fix CsvProfiler not compiling in shipping for now

Change 3814229 by Ben.Woodhouse

	Integrate + refactor of CL 3792591 to reduce complexity and fix bugs

	Original changelist description:
	CSV profiler improvements:
	- The CSV profiler is now always compiled in on the server
	- The CSV profiler can now handle both int32 and float stats
	- In BeginCapture, the function can take additional arguments for some customization of filenames

	Fixes to the above:
	 - Remove FCustomValue class
		- Fixes bug where all timestamp values from CSV_SCOPED_STATs were garbage (due to issues resulting from FCustomValue type ambiguity when adding values together)
		- FCsvCustomStat now just uses simple union + bitfield flag to reduce size and complexity (4 bytes instead of 8 per value)
		- FCsvColumn class modified to use doubles, which can represent both ints and floats without loss of precision - this class is not memory or time critical
	 - Replace multiple overrides used by the server for filenameprefix/folder/postfix etc with a single FilenameOverride

Change 3814242 by Ben.Woodhouse

	Disable CSV unit stats on the dedicated server

Change 3817339 by Ben.Woodhouse

	Duplicate from 3816641: CSV profiler improvements
	- Added a low-pri processing thread to compress raw timing data into a much more efficient format
	   - Reduces memory usage for 15 minute 30k frame capture with GPU stats enabled from 110MB to 3.4MB
	   - Processing time : 0.1ms per frame
	- Improved name handling for char literal stats. We now use the string as the ID rather than the pointer so multiple stat uses of the same name string apply only to  a single stat
	- Reworked thread data access to eliminate locking for anything time-critical. Frame boundaries now handled via a lock-free helper class
	-  Fixed bug with queue implementation where 1 in 128 reads would duplicate the last block of stat data
	-  Reduced #include dependencies for CSVProfiler.h
	-  Removed AccumulateMax because it doesn't work, and implementing properly would add a lot of complexity
	-  Added a simple test harness

Change 3817582 by Ben.Woodhouse

	Fix android compile warning

Change 3823242 by Ben.Woodhouse

	Integrate as edit from Fortnite/Main 3820067:

	Fix threading issue with D3D12 pipeline state caches for windows. This was caused by the usage of FRwScopeLock::RaiseLockToWrite. A pointer read before RaiseLockToWrite was called was invalidated because RaiseLockToWrite has to release the read lock before acquiring the write lock.

	Rename FRwScopeLock::RaiseLockToWrite to ReleaseReadOnlyLockAndAcquireWriteLock_USE_WITH_CAUTION to make it more explicit what's happening. As the comment says:

		// This function should be used with caution.
		// It releases the read lock _before_ acquiring a new write lock. This is not an atomic operation and the caller should
		// not treat it as such.
		// E.g. Pointers read from protected data structures prior to this call may be invalid after the function is called.

Change 3823840 by Ben.Woodhouse

	Edigrate from 3823816
	Fix an issue where the csvprofile console commands would sometimes result in an empty CSV. The root cause was GFrameNumber incrementing between the console command being read and FCSVProfiler::EndFrame(). We now use our own frame counter which is updated in EndFrame, so this can't happen

	Also fix an issue where calling csvprofile stop twice would cause all further commands to be ignored.

Change 3827787 by Ben.Woodhouse

	Integrate-as-edit CL 3820678 from Fortnite/Main
	Allow the CSV Profiler to be compiled in to shipping dedicated server builds

Change 3827842 by Ben.Woodhouse

	Integrate-as-edit CL 3827079 from Fortnite/Main
	CSV profiler category support

Change 3827918 by Luke.Thatcher

	[CONSOLE] [!] Fix compile error in CSV custom stats.

Change 3827964 by Luke.Thatcher

	[CONSOLE] [!] Fix inverted logic and spelling of boolean.
	 - Functionally, the boolean did the correct thing, but the logic was backwards inside the build tool.

Change 3831661 by Ben.Woodhouse

	Integrate-as-edit CL 3830630 from Fortnite/Main
	Fix CSVProfiler assert in dev builds on XB1

Change 3860300 by Joe.Barnes

	Use same method for src and dest rect calculation as other post processing passes so rects match between passes. Prevents read of unprocessed pixels.

Change 3860347 by Joe.Barnes

	Delete existing SourceConfigFile before allocating a new one to prevent them leaking.

Change 3860348 by Joe.Barnes

	Completely encapsulate GetLLMAlloc() in #ifdef.

Change 3861772 by Ben.Woodhouse

	Integrate-as-edit CL 3861688 from Fortnite/Main: Forward lighting GPU crash fixes

Change 3861774 by Ben.Woodhouse

	Integrate as edit CL 3833918 from dev-rendering (courtesy of DanielW):
	D3D12 RHI: only refcount uniform buffers if GRHINeedsExtraDeletionLatency is false, which is no longer the case for PC. The refcounting was heavy on performance as reported by a licensee because FRHIResource uses atomics for refcounting, which is only necessary when GRHINeedsExtraDeletionLatency is disabled.

Change 3862214 by Ben.Woodhouse

	Integrate-as-edit CL 3859637 from Fortnite/Main
			Dynamic resolution console tweaks
			- Dynamic resolution high level switch driven by a cvar instead of code
			- Disable user settings dynamic resolution handling on non-desktop platforms. DynamicRes as a user setting does not make sense on consoles/mobile - we'll drive it from device profiles/scalability
			- Modify naming of GPUHeadRoom to make it clear that it's a percentage, not millseconds

Change 3863919 by Ben.Woodhouse

	[Copy] Integrate console dynamic resolution interface changes from CL 3863354, 3862754, 3862639

Change 3864347 by Ben.Woodhouse

	Fix the editor build. This will need a proper fix before 4.19 ships.

#lockdown Nick.Penwarden
#rb none

[CL 3913399 by Ben Marsh in Main branch]
2018-02-27 17:30:35 -05:00
Ben Marsh
13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05:00
JeanMichel Dignard
265a6ee67b Copying //UE4/Dev-Enterprise to //UE4/Dev-Main (Source: //UE4/Dev-Enterprise @ 3769617)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 3678071 by JeanLuc.Corenthin
	Fixed a bug in AActor::CheckComponentInstanceName. The implementation was crashing with name containing only digits.

Change 3706350 by Jamie.Dale

	Fixed broken style from the Python merge

Change 3709830 by Jamie.Dale

	Exposed FVector4 and FQuat to TBaseStructure

Change 3713856 by Jamie.Dale

	Added missing FVector4-= operator

Change 3716874 by Martin.Sevigny

	UAT ListThirdPartySoftware: Add support for external project. New parameter -ProjectPath to specifiy path to .uproject so the build rules of the project are parsed and the folder is part of the search for TPS files.

Change 3728856 by Patrick.Boutot

	Get the value of each row for a specific column/property in a data table. It doesn't include the title of that column.

Change 3739050 by Jamie.Dale

	Exposed FPlane to TBaseStructure

[CL 3769674 by JeanMichel Dignard in Main branch]
2017-11-21 16:14:55 -05:00
Chris Bunner
337291cb1d Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3760894)
#rb Rendering
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 3658809 by Chris.Bunner

	Changing default HDR display gamut to P3 as in practice that's more common than Rec2020, this should be a user-facing option where possible though as we can't automatically retrieve that data.

Change 3658842 by Chris.Bunner

	Backing out previous HDR default gamut change as it conflicts with mandatory platform defaults.

Change 3695269 by Arne.Schober

	DR - Make clang happy wreorder

Change 3695418 by Guillaume.Abadie

	Fixes compilation failure in FoliageType_InstancedStaticMesh.cpp.

Change 3695430 by Guillaume.Abadie

	Fixes missing BeginFrame dynamic resolution event in EngineTest.

Change 3695469 by Guillaume.Abadie

	Fixes crash when passing down an invalid parameter on the sample material expression's DDX, DDY parameters.

Change 3696091 by Guillaume.Abadie

	Fixes Linux compilation failure in DynamicResolution.cpp

Change 3696593 by Chris.Bunner

	Fixed typo in vetex factory enum.

Change 3696596 by Chris.Bunner

	Added material attributes type checking to If material expression.
	Updated If material expression to validate compilation of inputs.

Change 3696597 by Chris.Bunner

	Allow visible parameter retrieval to correctly traverse through internally called functions. Previous check was intended to prevent function previews from leaving their graph through unhooked inputs, but unintentionally blocked all function inputs.

Change 3696599 by Chris.Bunner

	Fixed material instance parameter visiblity when using nested static switches across functions.

	#jira UE-50878

Change 3696734 by Chris.Bunner

	Return type fix.

Change 3697123 by Guillaume.Abadie

	Fixes compilation failure in PostProcessWeightedSampleSum.cpp on Windows 32bits.

Change 3697125 by Guillaume.Abadie

	Fixes compilation failure in MaterialExpressionIf.h

Change 3697127 by Guillaume.Abadie

	Fixes compilation failure in DynamicResolution.cpp on shipping build.

Change 3697135 by Guillaume.Abadie

	Fixes crash in dynamic resolution event frontend when resizing game play viewport in EngineTest.

Change 3697199 by Guillaume.Abadie

	Fixes TAA upsample's shader compilation failure on Mac.

Change 3697220 by Guillaume.Abadie

	Makes static analysis happy again.

Change 3697280 by Chris.Bunner

	Fixing up invalid casts in material layers validation.

Change 3697366 by Rolando.Caloca

	DR - hlslcc - Fix warning

	#jira UE-43988

Change 3697451 by Rolando.Caloca

	DR - vk - Per pipeline descriptor pools
	Descriptor pool are now allocated per PSO instead of globally to reduce peak mem consumption and fragmentation
	Enabled on Windows only via VULKAN_USE_PER_PIPELINE_DESCRIPTOR_POOLS

Change 3697477 by Rolando.Caloca

	DR - vk - Custom memory allocator
	Remove old/unused stats

Change 3697486 by Rolando.Caloca

	DR - vk - Fix validation issue

Change 3697488 by Richard.Wallis

	Fix for Mac editor session no longer accurately tracking Mouse location after moving between Desktops in Mission Control on 10.12.6.  Problem stems from the extra call to update the slate cached window position in mouse move while dragging, which is itself is a hack but apparently this is needed as we don't get window position updates on Mac while dragging (although I couldn't see any -ve side effects without it) then the OS (in 10.12.6) doesn't always push out a final window did move notificaiton when changing desktops which leaves the window according to slate incorrectly positoned to it's frame.

	Solution is to either remove the mouse-move-while-drag window position hack or add a final window position update to the mouse-up event while dragging - this change is the latter.

	#jira UE-37553

Change 3697501 by Richard.Wallis

	Move audio processing over to audio bus tap.  Currently on Mac Media audio playback uses OS media player mixer rather than Engine as existing implemtation, using AVAssetReader, now suffers from poor performance with new Media Framework.  This audio tap version replaces that asset reader implementation but also suffers from bad quality audio hence is still disabled at the top of AvfMediaTracks.cpp.

	Original Code Review Description:

	Convert Mac to Play audio through the engine MediaFramework API rather than using AVMediaPlayer.  This is the Mac implementation only - this should work ok on iOS but unable to test due to missing audio type implementation (throws error "Init Buffer on unsupported sound type name = Synth type = 5"), as such is only enabled for Mac.  There maybe some extra tweaks required for iOS on app backgrounding etc if this feature is enabled.

	- Stuttering Audio Performace issue investiagation:  Re-Tested this implementation against [now fixed] current Mac implementation which was working fine last year and that implementation now has the same audio output quality (performance) issues as this one.  Basic investigation seems to point to somewhere in the engine audio handing.  When poor audio is heard the FMediaAudioResampler::Generate() function is dequeing an IMediaAudioSample sample buffer and the audio sample queue usually has 50-100 of these IMediaAudioSample buffers waiting in the queue.  I think the AvfMedia playback system is providing the sample buffers in good time but they are not getting consumed "fast" enough.  This under consuming also occurs if I force the Core Audio - Audio Unit mixer to use 48000 samples/sec.

	#jira UEPLAT-1677

Change 3697517 by Richard.Wallis

	XCode 9.0 extra nullability specifiers required.

Change 3697537 by Richard.Wallis

	Back out revision 23 from //UE4/Dev-Rendering/Engine/Plugins/Media/AvfMedia/Source/AvfMedia/Private/Player/AvfMediaTracks.cpp

Change 3697670 by Rolando.Caloca

	DR - vk - Fix mapstaging surface

Change 3697846 by Uriel.Doyon

	Allow denormalized values when converting float32 to float16.

Change 3697892 by Uriel.Doyon

	Fix for unaligned structure elements

Change 3699335 by Richard.Wallis

	Mac compile fix - turns out I did need these nullability specifiers here.

Change 3699663 by Guillaume.Abadie

	Fixes time unit conversions from microseconds to milliseconds error in dynamic resolution heuristic when using GPU busy time queries.

Change 3699959 by Rolando.Caloca

	DR - Fix barrier in the middle of render pass

Change 3699969 by Rolando.Caloca

	DR - vk - Change dump layer location so it prints out validation ids

Change 3700356 by Guillaume.Abadie

	Implements secondary screen percentage to be able to do TAA upsample followed spatial upscale so that the editor viewport still have same TAA upsample screen percentage range to test the content with no matter monitor's DPI.

Change 3701105 by Guillaume.Abadie

	Ignore per view automatic mip bias on texture type other than 2d textures.

	#jira UE-51396

Change 3702297 by Richard.Wallis

	Mac compile fix for nullable specifier.  Looks like Obj class using the C++ class also needs this otherwise it throws.  Seems to be some kind of xcode/compiler caching bug with this stuff as it'll report the error once then on subsequent compiles say everything is ok.

	#jira UE-51386

Change 3702357 by Richard.Wallis

	Mac nullability compile fix - again.  Looks like I fell foul of that xcode compile caching!
	#jira UE-51386

Change 3702424 by Guillaume.Abadie

	Fixes planar reflection from drowing themselves in their own FSceneRenderer in forward shading.

	#jira UE-51395

Change 3702464 by Guillaume.Abadie

	Fixes wrong viewport to buffer conversion of the distortion.

	#jira UE-51406

Change 3702819 by Guillaume.Abadie

	Fixes planar reflections with secondary screen percentage for HighDPI editor viewports.

Change 3703732 by Guillaume.Abadie

	Removes unecessary check(); when there is more than 2 players with planar reflections.

	#jira UE-51436

Change 3704302 by Guillaume.Abadie

	Removes unecessary Interface suffix on new dynamic resolution related interfaces

Change 3704390 by Chris.Bunner

	Fixed a coincidentally correct define.

Change 3704730 by Rolando.Caloca

	DR - vk - Fix map for depth surfaces

Change 3704739 by Rolando.Caloca

	DR - Debug label on D3D11 UAVs
	- Validate when running -d3debug

Change 3705000 by Chris.Bunner

	Skip compiling opacity and opacity mask inputs on opaque surface materials. Previously the code was always added to the shader, sometimes we force opaque materials down a masked path which then calls the dormant code unintentionally. A safer fix for UE-48254.
	Partially reverted previous fix in CL 3608303 which removed a material instance optimization caching the overridden base properties.

Change 3706065 by Guillaume.Abadie

	Does some renaming for primary screen percentage, and move the primary screen percentage method selection from dynamic resolution driver to FSceneView.

Change 3706464 by Chris.Bunner

	Fixed material property translate overrides that were generating code in the wrong entry.
	Fixed conditions  in If material expression GetInputType and IsMA check.

	#jira UE-51368

Change 3706641 by Chris.Bunner

	Missing "break" in switch statement (which unfortunately needs another bump to resolve).

Change 3706642 by Guillaume.Abadie

	Fixes assertion failure when r.TemporalAA.EnableUpscale = 1

Change 3706650 by Gil.Gribb

	UE4 - UE4 - Changes from intel. Increase number of worker threads on Windows to if hyperthreads (hyperthreads √ 2) else cores √ 1 up to a max of 22 workers. Increase MAX_THREADS multiplier per bank from 22 to 26. Intel VTune ITT event annotations. Wrapped in same function as your existing CPU events and enabled with √vtune. Optimize NV cloth by consuming FVector instead of FVector4 out of the solver. Vertex buffers were using FVector all along. ~15% improvement. Optimize cloth copy to vertex buffer by adding prefetch (similar to how bones are already done). Move local to world cloth transform from CPU to GPU. When simulating lots of vertices game thread was becoming bottleneck doing matrix multiply. Add your TaskGraph task switch latency test code.

Change 3706733 by Daniel.Wright

	Print Embree Build time

Change 3706841 by Daniel.Wright

	EmbreeFilterFunc4 now handles masked out intersections properly

Change 3707437 by Rolando.Caloca

	DR - vk - Android compile fix

	#jira UE-51474

Change 3707785 by Guillaume.Abadie

	Fixes viewport issue in bloom setup pass with TAA upsample.

Change 3709623 by Rolando.Caloca

	DR - vk - Missing barrier for reading into cpu

Change 3709633 by Rolando.Caloca

	DR - vk - Compile fix

Change 3710454 by Mark.Satterthwaite

	Refactor the way we compile Buffer<> & RWBuffer<> types for Metal so that we can support the type-conversion semantics of HLSL/D3D.
	- Buffer<> types are converted to Linear Textures unless the internal type is 3-compnent or the STRONG_TYPE macro is added as a type-qualifier. Linear Textures require an MTLTexture "view" object be created around the MTLBuffer which is the backing-store and it is typically best if that buffer is marked as Private (GPU-only) memory, reading from this in the shader then uses the texture-fetch hardware to perform the format conversion on load.
	- RWBuffer<> & 3-compnent Buffer<> types are converted to use template functions to load/store - the implementation of which will read the format from the BufferSizes meta-table and determine which type-conversion to apply. Function-constants are used to specialise the shader where feasible to reduce branch costs (function-constants are a Metal feature that allow efficient runtime recompilation of bytecode shaders).
	- Buffer<> & RWBuffer<> types where the STRONG_TYPE macro is added as a type-qualifier (only does something on Metal, everywhere else it is #define'd away) are compiled as "raw" Metal buffers of the inner-type (e.g. float4 for Buffer<float4>) and the MetalRHI runtime will enforce that only SRVs/UAVs of the proper format are bound to it. This is necessary in a couple of cases (BoneMatrices, NumCulledLightsGrid, CulledLightDataGrid & ForwardLocalLightBuffer buffers) which are used in a larger number of shaders as Linear Textures have poorer performance than Buffer<>/RWBuffer<>.
	- Most of the complications to generating subtly different Metal code for different OS/device combinations have been factored out into ue4_stdlib.metal which acts as an extension to the Metal shader standard-library and helps simplify the MetalBackend code - particularly helpful for Buffer<>/RWBuffer<> but also texturecube_array and the SM6 wave-related intrinsics.
	- Reverted some of the awkward Metal-specific changes Richard.Wallis & Arne had to make to the high-level shaders as they aren't necessary anymore.
	- Made the existing Metal-specific changes to use uint32 for all light-grid injection buffers apply to all Metal platforms again (I had hoped that it would not be necessary anymore, but it is much faster this way).
	- STRONG_TYPE is actually hlslcc's "invariant" keyword applied as a type-qualifier to a Buffer<>/RWBuffer<> type - only valid when using Metal which exports this through ILanguageSpec and #define'd out for everyone else.
	- Old versions of iOS (anything earlier than iOS 10.3) won't be able to use this new code, so every buffer will be treated as "raw" and the MetalRHI will now properly report when something goes awry rather than it leading to mysterious rendering errors and crashes.

Change 3710456 by Mark.Satterthwaite

	Fix the Eddie workset project generator so that Enterprise projects don't get mixed in with regular projects at the top-level because of the way Eddie combines workset groups.

Change 3710457 by Mark.Satterthwaite

	DX11 texture formats for Mac Metal please!

Change 3710480 by Mark.Satterthwaite

	Permit RHI thread and parallel execution in Mac -game mode again.

Change 3710522 by Mark.Satterthwaite

	MSVC type-mismatch error fixes.

Change 3710580 by Mark.Satterthwaite

	Alright then - if I can't use the C++11 extended string semantics I'll have to use "xxd -i" to generate a hex-dump include header from ue4_stdlib.metal instead. This can only be updated from a machine with access to the POSIX xxd command (Mac & Linux, possibly the new Linux sub-system for Win10).

Change 3710616 by Mark.Satterthwaite

	Missing file.

Change 3712972 by Guillaume.Abadie

	Fixes Circle DOF's negative alpha channel getting clamped to 0 in TAA pass.

Change 3712979 by Guillaume.Abadie

	Fixes wrong RT reallocation when doing TAA upsample in editor viewports with secondary upscale.

Change 3713406 by Mark.Satterthwaite

	Use GPU morph targets on Mac - the necessary buffer conversions will always be available there. For iOS it can only be supported if iOS 10 is the minimum OS & Metal standard so leave that on the CPU path for now.

Change 3713494 by Richard.Wallis

	Fix for hitch when PIE unloading sublevel.  PerformReachabilityAnalysisOnObjects is spawing multiple threads in Editor builds as there is an extra code path that results in Critical Section locking within a singleton type static object - this is a bottle neck for multiple threads.  However they all just need to read the data not change it.  Replaced FScopeLock with a Read/Write version allowing these threads to all take a read lock at the same time to reduce contention.

	Changed the FUObjectAnnotationDense implementation only - left the sparse implementation alone as its not currently affecting this - although we could proactivly change that too.

	Also tested again repro in linked bug UE-24711.

	#jira UE-40533

Change 3713612 by Mark.Satterthwaite

	Integrate LPV_STORE_INDEX_IN_HEAD_BUFFER related changes from //depot/Partners/Microsoft/UE4-MS/Engine-Fable @ 2954744

	This should make Light Propagation Volumes potentially viable on non-Microsoft platforms.

Change 3713623 by Mark.Satterthwaite

	Implement ByteAddressBuffer/RWByteAddressBuffer in hlslcc in a similar manner to StructuredBuffer/RWStructuredBuffer so that the backends don't need too much modification. Implement the necessary changes into MetalBackend to make this work for Metal.

	Load/Store{+2,3,4} & Atomics are supported. Counter operations are not supported and aren't likely to be.

Change 3713636 by Mark.Satterthwaite

	Enable LPVs for Mac Metal.
	- Rework some multi-dimensional arrays & array-index dependent HLSL code that hlslcc simply can't cope with, the mesa-glsl compiler core is only capable of dealing with 1 dimensional arrays and array-indexing can't itself be directly dependent on the result of an array-index operation.
	- MetalRHI needs to ignore any SetRenderTargets call that binds nothing at all as you must bind at least one target (UAV, RT, Depth/Stencil) for it to be able to do anything sensible.
	- Turn on LPVs for Metal as it works now.

Change 3714049 by Guillaume.Abadie

	Do not set screen percentage method to TAA upsample when anti aliasing method is not TAA even if there is automatic fallback in the renderer.

Change 3714306 by Guillaume.Abadie

	Fixes assertion failure in dynamic resolution state proxy with GPU busy time queries.

Change 3714714 by Mark.Satterthwaite

	Tweak Metal GPU identification so that it works with eGPU boxes and protoype hardware - these changes only apply to macOS 10.13 so the system as a whole remains.

Change 3716104 by Mark.Satterthwaite

	Fix 10.12/Xcode 8 compile errors from the build-farm which is still split until Fortnite can update.

Change 3716120 by Mark.Satterthwaite

	Silence static-analysis.

Change 3716158 by Guillaume.Abadie

	Rewrites editor primitive compositing to support TAA upsample.

	This takes the oportunity to remove the manual depth testing in base pass pixel shader of editor primitives.

Change 3716271 by Daniel.Wright

	Lightmass correctness fixes
	* After these changes, point, spot, directional and sky lights closely match reference renderer Mitsuba after light unit conversions
	* Photon density trimming intended for direct photons was affecting indirect photons as well.  This caused high noise for point / spot lights with a large attenuation radius.  Indirect photon density even for small lights is 5x with this change, which improves 2nd bounce quality.
	* Removed legacy fudge factor on point / spot light photon energy
	* Spotlights no longer emit based on indirect photon paths.  Fixes excessive photon energy from spot lights as they were emitting outside of the cone.
	* Fixed photons computing one more bounce than requested.
	* Added an option to use the Radiosity solver for all multibounce, replacing photons.  Useful as a reference but generally too much noise indoors.
	* Fixed visualization of photons without final gather

Change 3716434 by Mark.Satterthwaite

	Backout the remaining change from 3632041 that is no longer necessary - this was the last of the 4.18 Metal workarounds.

Change 3716491 by Chris.Bunner

	Fixing up an edge-case on a recent optimization.

Change 3716611 by Guillaume.Abadie

	Allows secondary screen percentage >= 100%.

Change 3716977 by Guillaume.Abadie

	Back out changelist 3716158 to unblock QA pass.

	#jira UE-51580

Change 3717111 by Arne.Schober

	Fixing nomalization of Morph Tangents https://udn.unrealengine.com/questions/392462/
	Also implemanted batching of the dispatches which should help worst case perfomance where dispatches become too small.
	CalculateInverseAccumulatedWeights is not cheap and proably should be moved onto a task thread that runs as soon as the input weights are ready.

Change 3717127 by Mark.Satterthwaite

	Fix a mismerge from the reversion of 3632041 - part of the modified code had been moved into another file and I didn't initially notice.

Change 3717178 by Mark.Satterthwaite

	Remove useless copy-pasted expressions from glsl_type::GetByteAddressBufferInstance & force MetalBackend to relink. Apparently the previous Mac libs were mysteriously broken.

	#jira UE-51583

Change 3717476 by Marcus.Wassmer

	Fix PS4 compile.  funciton local statics not allowed on PSSL
	Also enabled the new atomics method for LPVs for all platforms

Change 3717502 by Arne.Schober

	DR - Compiletime option for compressed ruleset (0.02ms perf gain on PS4 and disabled by default as it limits array size to 2million entries)

Change 3717601 by Arne.Schober

	DR - Move cycle counter into more meaningfull locations.

Change 3718054 by Guillaume.Abadie

	Removes unecessary check() failure on secondary upscale that fires when testing raw output screen percentage method.

Change 3718066 by Guillaume.Abadie

	Reland: Rewrites editor primitive compositing to support TAA upsample.

	This takes the oportunity to remove the manual depth testing in base pass pixel shader of editor primitives.

Change 3718589 by Mark.Satterthwaite

	Console-variable to enable and disable Manual-Vertex-Fetch for Metal and fix the internal code to handle the subtle changes in behaviour for vertex-declarations so we don't explode under the Metal validation layer. MVF works on macOS, though testing did expose an error with Tessellation on Nvidia (true for MVF enabled & disabled).

Change 3718633 by Guillaume.Abadie

	Fixes temporal instability issue of TAA upsample with secondary screen percentage.

Change 3718658 by Arne.Schober

	DR - 25% MorphTarget Speed increase because there was a bit of cache thrashing between the waves going on.

Change 3718818 by Mark.Satterthwaite

	Fix compilation on hlslcc - integral values are not automatically converted into comparisons with zero.

Change 3719004 by Guillaume.Abadie

	Lets the game viewport client automatically set raw output screen percentage method when doing dynamic resolution with stereo rendering but without TAA upsample.

Change 3719375 by Mark.Satterthwaite

	Extend mtlpp compiler testing app to support Metal tessellation compute shaders so we can send Nvidia a much simpler reproduction of their regression.

Change 3720099 by Mark.Satterthwaite

	Make the left-hand arguments work in airdiff.

Change 3720413 by Mark.Satterthwaite

	Support standalone compute shaders in the mtlpp compiler test app.

Change 3721232 by Mark.Satterthwaite

	No more Metal Shader Model 4 - instead we have to have a Metal Shader Model 5 w/o Tessellation as Nvidia's shader compiler is broken on all tessellation shaders in 10.13.0 and above. There is no guarantee that they will fix this prior to 10.14 and I can't afford to disable tessellation entirely as if I do that then the AMD & Intel compilers will also regress. As there is no Shader Model 4 platform on Mac anymore I've amended the LevelEditorActions to disable the preview modes when no appropriate shader platform is available.

Change 3721244 by Mark.Satterthwaite

	Fix incorrect enum handling for Metal features due to overflow.

	#jira UE-51643

Change 3721338 by Mark.Satterthwaite

	MIssing file from 3721232

Change 3721818 by Mark.Satterthwaite

	Fix the Intel vector-array-dereference workaround so that it doesn't cause the AMD compiler to explode instead.

Change 3722139 by Arne.Schober

	DR - [UE-51602] -Fixed Typo that accidently bound the LightingInstancebuffer to the Transform one

	#jira UE-51602

Change 3722165 by Rolando.Caloca

	DR - Default -opengl to GL4

Change 3722682 by Guillaume.Abadie

	Fixes wrong clear color in SSR important for VR that has a HMD mesh.

Change 3722766 by Rolando.Caloca

	DR - Fix static analysis

Change 3722943 by Mark.Satterthwaite

	Disable the METAL_SM5_NOTESS shader platform again - I can workaround the Nvidia pipeline state compiler crash by changing the buffer address space from "constant" to "device" as we're managing to confuse the poor thing. This won't materially affect AMD or Intel as they don't care much about this, but to limit performance issues on Nvidia we only need to do this for Tessellation Compute shaders.

Change 3723100 by Mark.Satterthwaite

	Apparently users like enabling Metal shader standards that won't work on their current OS, so don't display those that aren't going to work & display an error message before quitting rather than crashing when trying to load a project that tries to use an incompatible shader version.

Change 3723121 by Mark.Satterthwaite

	Fix build error.

Change 3723245 by Daniel.Wright

	Ensure for when a reflection capture upload fails due to incorrect lighting scenario level handling
	Reflection captures with no data use an array index of 0, instead of -1.  Might avoid reading uninitialized memory on PS4.

Change 3723387 by Arne.Schober

	DR - Metal already applies the instance and vertexoffset in the shader

Change 3723393 by Mark.Satterthwaite

	More fixes to the mtlpp compiler test application.

Change 3725258 by Guillaume.Abadie

	Improves fast TAA upsample shader permutation by 15% on console.

Change 3725555 by Chris.Bunner

	[Dupliate] CL 3725548 - Fixed invalid screenpercentage value in VehicleGame sample (was setting -1 but should default to 100). This has always been broken but was recently exposed by CL 3686200.

Change 3726845 by Guillaume.Abadie

	Exposes SvPosition to material through screen position material expression, so that material no longer have SvPosition * InvViewSize * ViewSize precision loss.

	#jira UE-51428

Change 3728014 by Guillaume.Abadie

	Uses ScreenPosition material expression's PixelPosition pin in existing engine functions to improve precision.

	#jira UE-51428

Change 3728053 by Richard.Wallis

	Duplicate CL 3727958: Crash fix when using shared material libraries.  Initial shader code library offset is not zero'd so all entry offsets were garbage.

Change 3728339 by Guillaume.Abadie

	Adds project setting for TAA upample, and officialises TAA upsampling CVar.

Change 3728549 by Guillaume.Abadie

	CsvProfiler is pretty cool, but even better with console autocompletion for lazy developers.

Change 3728752 by nick.bullard

	Built and re-saved QA-MeshPaint
	#jira UE-50978

Change 3728775 by Guillaume.Abadie

	Implements r.DynamicRes.ChangePercentageThreshold to stabilize primary screen percentage.

Change 3729224 by Uriel.Doyon

	Hidden levels now keep their last build data when using lighting scenarios.
	Hidden levels don't affect the scene anymore volumetric lighting when not using lighting scenarios.

	#jira UE-40454
	#jira UE-38131

Change 3729243 by Marcus.Wassmer

	Update Ansel to 1.4
	#github 4159
	#jira UE-51545

Change 3729325 by zachary.wilson

	Adding indirect lighting to TM-LightingChannels
	#jira UE-47069

Change 3729485 by zachary.wilson

	Fixing ambient occlusion bias on QA-LightsStationary. Removed global PPV with bad settings, also fixed the shadow on the roof.
	#jira UE-50972

Change 3729629 by Uriel.Doyon

	Fixed crash when using debug view modes.
	Fixed d3ddebug error when clearing quad overdraw buffer.

	#jira UE-51836

Change 3730053 by Guillaume.Abadie

	Allows edititing of AScreenshotFunctionalTestBase::ScreenshotCamera.

Change 3730308 by Guillaume.Abadie

	Disables TAA upsample on buffer visualization, and disallow screen percentage preview in editor viewport with any buffer visualization.

Change 3730355 by Guillaume.Abadie

	Sacrifices consistency for good cvar name for TAA upsample.

Change 3731403 by Daniel.Wright

	Reduced slider for ContactShadowLength to .1, algorithm produces poor results with larger values.

Change 3731404 by Daniel.Wright

	Checkpoint for ScreenShadowMaskTexture, allowing 'vis ScreenShadowMaskTexture'

Change 3731407 by Daniel.Wright

	Must opt-in for FDistanceFieldSceneData::VerifyIntegrity

Change 3731517 by Guillaume.Abadie

	Freezes dynamic resolution heuristic when doing pause.

Change 3732168 by Guillaume.Abadie

	Renames TAA upsampling cvar.

Change 3732295 by Guillaume.Abadie

	Lets the scene texture's size and texel size return the correct sizes after TAA upsample.

Change 3732313 by Guillaume.Abadie

	Implements SceneTexture material expressions' automated tests.

Change 3734928 by Guillaume.Abadie

	Adds panic mode when the last N frames are over budget to the dynamic resolution heuristic.

Change 3735966 by Ryan.Vance

	Fixing mac steamvr compile issue. Missed a few lines in the refactor because mac.

Change 3736104 by Guillaume.Abadie

	Removes FSceneViewInitOptions::bDisableGameScreenPercentage brought by 4.18, that new screen percentage API do in a better way.

Change 3736346 by Daniel.Wright

	Volumetric fog is always interpolated in the pixel shader, since per-vertex interpolation gives consistently poor results.  Fixes Volumetric Fog on opaque in Forward, and on transparent in Deferred.
	Forward shading: per-pixel height fog is always done in the base pass, to work with MSAA correctly

Change 3736348 by Daniel.Wright

	Forward shadowing of directional light for translucency
	 * Static shadowing and CSM supported with minimal filtering (1 PCF)
	 * Deferred renderer: affects translucency using 'Surface ForwardShading' lighting mode.  Forward renderer: affects all translucency.

Change 3736650 by Rolando.Caloca

	DR - vk - # of desc pools

Change 3737985 by Guillaume.Abadie

	Fixes pixel inspector with primary and secondary screen percentage.

Change 3738638 by Michael.Lentine

	Compile fix due to unclear operator precendence.

Change 3739417 by Daniel.Wright

	Fixed a few issues with irradiance cache visualization

Change 3739447 by Daniel.Wright

	Skip forward static shadowing in projects with static lighting disabled

Change 3739595 by Daniel.Wright

	ConditionalPostLoad DistanceFieldReplacementMesh.  Should fix a crash on load when static mesh derived data is being rebuilt, and the DistanceFieldReplacementMesh is in use.

Change 3739598 by Daniel.Wright

	Disable capsules shadows on lowest shadow quality

Change 3739611 by Daniel.Wright

	Added r.CapsuleDirectShadows and r.CapsuleIndirectShadows for more specific scalability control over capsule shadow features
	New Lighting Feature show flags for RTDF shadows and Capsule Shadows

Change 3740516 by Guillaume.Abadie

	Fixes VR editor rendering only on eye with TAA upsample.

	#jira UE-52016

Change 3740580 by Guillaume.Abadie

	Fixes chromatic aberration with TAA upsample and multiple view rendering.

	#jira UE-51993

Change 3740588 by Guillaume.Abadie

	Gives to FXAA a more explicit draw event name for easier UDN support.

Change 3740845 by Michael.Lentine

	Fix shipping build.

Change 3740903 by Guillaume.Abadie

	Disables dynamic resolution threading outliers detection by default and includes editor UI GPU cost within dynamic resolution's begin/end frame events for better reliability of timestamp query based dynamic res in editor.

Change 3741355 by Daniel.Wright

	Normalize planar reflection plane - fixes crash when scaling a BP with a planar reflection component

Change 3741357 by Daniel.Wright

	More info on volumetric lightmap import failure

Change 3742535 by Ryan.Vance

	Fix for view rect changes.

Change 3743282 by Guillaume.Abadie

	Fixes a bug in dynamic resolution heuristic's outlier detection that was preventing the over budget panic to react.

Change 3743559 by Michael.Lentine

	Port Siren changes for recompute tangents. This adds recompute tangents for cloth as well as the ability for recompute tangents to work across seams where vertices are duplicated.

Change 3743679 by Guillaume.Abadie

	Cherry-pick 3743621: Fixes subsurface profile fallback to lit shading model when Opacity == 0, introduced by 3447144.

	#jira UE-51569

Change 3743906 by Ryan.Brucks

	BlueprintMaterialAndTextureNodes Plugin:  Fix for clamping sampled HDR render target values by setting  ERangeCompressionMode in the FReadSurfaceDataFlags to RCM_MinMax

Change 3744096 by Ryan.Brucks

	BlueprintMaterialAndTextureNodes Plugin:  removed Mip option from Texture2D_SampleUV_EditorOnly for now since reads from source data cannot access mips and it can be misleading.

Change 3744253 by Guillaume.Abadie

	Fixes merge collisions of debug canvas rendering with High DPI, fixes stat unit on high DPI monitors, and fixes secondary screen percentages.

Change 3744953 by Chris.Bunner

	Crash workaround.

Change 3745628 by Marcus.Wassmer

	Temporarily disable recalctangent normal-smoothing

	#jira UE-52166

Change 3745942 by Guillaume.Abadie

	Fixes a todo in FCommonViewportClient

Change 3746005 by Guillaume.Abadie

	Fixes stat UnitGraph on high DPI monitor.

Change 3746029 by Guillaume.Abadie

	Oups.... Fix compilation. :D

Change 3748322 by Guillaume.Abadie

	Shows dynamic resolution's primary screen percentage on stat unit/unitgraph console commands.

Change 3748346 by Chris.Bunner

	Potential static analysis fix.

Change 3748349 by Chris.Bunner

	Mac feature support flag fix on versions < 10.30.

Change 3749336 by Guillaume.Abadie

	Fixes some spelling mistakes in dynamic resolution cvars. Thanks Daniel!

Change 3749374 by Guillaume.Abadie

	Adds a black background on the stat unitgraph so timing curves can be seen no matter the content.

Change 3749437 by Guillaume.Abadie

	Final UI polish up for `stat unitgraph`

Change 3749719 by Guillaume.Abadie

	Fixes a crash when changing r.DynamicRes.MaxScreenPercentage below current screen percentage.

Change 3750243 by Chris.Bunner

	Increasing controller's automated test timeout to allow for slower machines to complete the longest tests.

	#jira UE-48494, UE-51907

Change 3750728 by Guillaume.Abadie

	Fixes merge collision in chromatic aberration.

	#jira UE-52282

Change 3750791 by Guillaume.Abadie

	Fixes chromatic baerration R and G channel swap.

Change 3751246 by Guillaume.Abadie

	Bypasses screen percentage apply with mobile LDR rendering.

	#jira UE-52089

Change 3752624 by Guillaume.Abadie

	Simplies dyn res state's event interface to a single virtual method.

Change 3753766 by Chris.Bunner

	Rebuilt volumetric baked lighting test map and updated screenshots.

	#jira UE-52322

Change 3755108 by Guillaume.Abadie

	Fixes a bug where default dynamic resolution state was created at startup of server build.

	#jira UE-52345

Change 3755267 by Mark.Satterthwaite

	Fix condition controlling which features are enabled when iOS >= 10.3 - it wasn't working for iOS 11+ which was causing all kinds of problems.

	#jira UE-52301

Change 3755811 by Chris.Bunner

	Disable some new logging that was causing a stack overflow during EnginePreInit.

	#jira UE-52345

Change 3756983 by Mark.Satterthwaite

	Prevent different versions of metal_stdlib/ue4_stdlib from causing shader compilation failures due to a time-stamp mismatch between the local file & the PCH. This can happen when working with Xcode Beta releases that change the modification date, but not the content or compiler version, amongst other possibilities.

	#jira UE-52073

Change 3757156 by Guillaume.Abadie

	Fixes editor compositing with wireframe rendering.

	#jira UE-52017

Change 3757435 by Mark.Satterthwaite

	Workaround a bug in the MobileSceneCaptureRendering where it was copying the ViewInfo's ViewRect prior to it being configured by the mobile renderer.
	#jira UE-52327

Change 3757523 by Uriel.Doyon

	Fixed d3ddebug warning with unused inputs

Change 3758318 by Guillaume.Abadie

	Cleaner fix for mobile scene captures.

	#jira UE-52327

Change 3759541 by Mark.Satterthwaite

	Don't enable Manual Vertex Fetch on iOS Metal for the moment as it isn't well tested there and will probably need further changes.

Change 3695086 by Guillaume.Abadie

	Render thread dynamic resolution & TAA upsample.

	Merging //Tasks/UE4/Dev-DynamicRes/...@3694528 to //UE4/Dev-Rendering/...

	New features breakdown:
	- TAA upsample compute shader that accepts screen percentage from 50% to 200%, with a faster shader permutation for consoles;
	- Material no longer have to deal with BufferUV, and post process material after TAA upsample can sample any scene buffer seamlessly;
	- Material texture per view mip bias to produce sharper images with TAA upsample;
	- Render thread dynamic resolution heuristic is fully plugable by game code (for VR plugin specific heuristics);
	- Dynamic resolution in PIE and game builds;
	- Busy time queries in the RHI to be implemented on the different platforms so that the dynamic resolution heuristic can  exactly associate GPU frame times with screen percentages in its history;
	- Game user settings to enable/disable dynamic resolution;
	- In editor viewport screen percentage config to previsualise and test content at different screen percentage.

	Fixes:
	- Various fixes for algorithms producing different outputs at different screen percentage.
	- Various fixes for algorithms sampling outside view rects.

	Refactors:
	- TAA shader
	- Moved some screen percentage specific members from FSceneView to FViewInfo for thread race bullet proofing.

	Aknowledgements:
	- VR plugins are broken
	- DFAO still have some artifacts

	Premiliminary review: Marcus.Wassmer
	Review for TAA refactor and TAA upsample shader: Brian.Karis
	Review for dynamic resolution: Brian.Karis

[CL 3761165 by Chris Bunner in Main branch]
2017-11-16 11:36:35 -05:00
Marc Audy
4b3c74281e Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3759273)
#lockdown Nick.Penwarden
#rb none
#rnx

============================
  MAJOR FEATURES & CHANGES
============================

Change 3722141 by Aaron.McLeran

	#jira UE-51670 Added ability to split multi-channel mic input into separate USoundWave assets in recording manager.

	- Will allow for sequencer recorder to record multiple audio streams, one for each actor

Change 3726096 by Ori.Cohen

	Fixed welded bodies with negative scale not using the mirrored convex hull

	#jira UE-51647

Change 3726233 by Ori.Cohen

	Make sure RT doesn't try to create a physics mesh when debug drawing

	#jira UE-51721

Change 3726254 by Aaron.McLeran

	Fixing typo in GetCustomSpatializationSettingsClass interface

Change 3728295 by Ori.Cohen

	Fix incorrect lock upgrading

Change 3728516 by Benn.Gallagher

	Fix for crash loading reparented animation blueprints that do not have an animgraph but are no longer child blueprints.

	#jira UE-51414

Change 3728522 by Benn.Gallagher

	Added mesh paint settings to per-user settings and added preview vertex size so it's configurable by the user for use on differently sized meshes.

	#jira UE-50087

Change 3728853 by Benn.Gallagher

	[NvCloth] Fix sphere collision detection issue when clothing bounds are (almost) flat.

Change 3729031 by Ethan.Geller

	#jira UEAP-316: Improvements to the audio side for our Opus VOIP implementation.

Change 3729910 by Benn.Gallagher

	Fix for crashes editing destructible meshes caused by stale render data

Change 3729921 by James.Golding

	- Remove 'bDisabled' flag from SkeletalMesh render data sections, use per-component ShowMaterialSection to hide sections instead
	  - Renamed flag on source data (FSkelMeshSection) to bLegacyClothingSection_DEPRECATED, to fix up old clothing assets
	- Expose ShowMaterialSection to BP, added ShowAllMaterialSections and IsMaterialSectionShown as well
	- Move SelectedEditorSection and SelectedEditorMaterial from USkeletalMesh to USkinnedMeshComponent, made private, added accessors
	- Made SectionIndexPreview and MaterialIndexPreview in SkinnedMeshComponent private, added accessors
	- Remove unused ChunkIndexPreview from USkinnedMeshComponent and SelectedClothingSection from USkeletalMesh
	- Move SectionsDisplayMode from UDebugSkelMeshComponent to SAnimationEditorViewport
	#jira UEAP-167

Change 3730054 by Martin.Wilson

	Live Link: Add ability for sources to define their own settings

Change 3730134 by Jurre.deBaare

	Editor crashes when opening animcompression setting on an alembic file
	#jira UE-51840
	#fix ensure that anim sequence actually contains a compression scheme, and set scheme during ABC import
	#misc cleaned up comment

Change 3730428 by Thomas.Sarkanen

	Fix copy/paste in the physics asset editor

	When constraint data was being serialized the default profile was being substituted, however it wasnt being updated for all non-detials panel operations.
	Added a UpdateProfileInstance() to propgate the changes correctly for copy/paste, axis cycling and toggling.

	Also allow multi-paste of constraints/bodies.

	#jira UE-51803 - Copy/paste doesn't work correctly in PhAT

Change 3730464 by Thomas.Sarkanen

	Fixed copy/paste not working when the skeleton tree has focus

	The skeleton tree was absorbing the command binding because socket copy/paste wasnt not checking whether sockets were selected.

	#jira UE-51803 - Copy/paste doesn't work correctly in PhAT

Change 3730511 by Jurre.deBaare

	Moving over fix from FN-Staging for [CrashReport] UE4Editor_Engine!FColorVertexBuffer::GetVertexColors() [colorvertexbuffer.cpp:313]
	#jira UE-48988

Change 3730685 by Benn.Gallagher

	Fix for sequencer crash when toggling spawnable for an actor containing a skeletal mesh component. Caused by CPFUO adding entries into the subinstance array while the component was unregistered.

	#jira UE-51508

Change 3731560 by Aaron.McLeran

	Removing gaurd on spatialization plugin settings and renaming enumerations

Change 3731714 by Ori.Cohen

	Added the ability to profile scene query hitches.

Change 3731725 by Ori.Cohen

	Change scene query hitch threshold to 50us by default

Change 3731770 by Ethan.Geller

	Fix signed/unsigned comparison.

Change 3731777 by Ethan.Geller

	Suppress static analysis warning.

Change 3732145 by Thomas.Sarkanen

	[Duplicated from 4.18.1]

	Fixed crash when simulating in the physics asset editor, dragging with Ctrl+RMB and then clicking LMB

	Also fixed a selection issue that was exposed when this crash was fixed,

	#jira UE-51597 - [CrashReport] Crash in PHAT on LeftMouse click while moving ragdoll asset during Simulate

Change 3732176 by Thomas.Sarkanen

	Fixed hang when selecting all bodies or constraints in a physics asset

	Implements a better fix for CL 3721129

	#jira UE-51626 - Very long hang occurs when selecting all bodies in a physics asset

Change 3732177 by Thomas.Sarkanen

	Fix crash when pasting properties in Physics Asset Editor

	Makes sure that the tree is refreshed when underlying data changes, so we dont access stuff out of range.

	#jira UE-51806 - Editor crashes when pasting properties of a body to multiple bodies

Change 3732492 by Martin.Wilson

	Fix for ensure when compressing an animation whos skeleton has been switch due to skeletal mesh merging

	#Jira UE-51794

Change 3732672 by Thomas.Sarkanen

	Refactor view menus in animation editors

	Moves show menu and buffer visualizations into a new CommonMenuExtensions module.
	Reorders viewport menus in Persona-based editors so the "Show" menu is similar to the level editor's menu of the same name.
	All character-specific stuff is now in a "Character" menu.

	Original changes by Jonathan.Poncelet

	#jira UE-41903 - Add relevant options from Level viewport Show menu to Anim tools viewports

Change 3732860 by Thomas.Sarkanen

	Fix CIS errors/warnings

Change 3732877 by Thomas.Sarkanen

	Fix missing Physics menu

	Merge error on my part

Change 3733113 by Ori.Cohen

	Fix CIS

Change 3734859 by Thomas.Sarkanen

	Fix crash when opening a physics asset that uses a preview mesh with no skeleton

	#jira UE-51916 - [CrashReport] UE4Editor_CoreUObject!FWeakObjectPtr::Get() [weakobjectptr.cpp:81]

Change 3736693 by Ethan.Geller

	Added ability for submixes to define their own channel format. Written by aaron.mcleran

Change 3737943 by James.Golding

	Fix crash when right-clicking during section selection in skel mesh tools

	#jira UE-51873

Change 3738337 by Benn.Gallagher

	Fix for crash switching between clothing assets with a gradient tool that has cached start/end indices.
	#jira UE-51921

Change 3738404 by Lina.Halper

	Add comment for bImportBoneTrack option in FBX importer

Change 3738816 by Benn.Gallagher

	Added "Anim Drive" to clothing assets and added runtime interaction for simulations (Merged from Siren)

Change 3738960 by Ethan.Geller

	Fix Linux compiler errors for implicit enum casting

Change 3739214 by Lina.Halper

	- Removed unnecessary Initialize
	-  Make sure invalidate the other part if not used (socket->bone or bone->socket)

	#jira: UE-51931

Change 3739215 by Lina.Halper

	compile error

	- added one more ) when pasted to the other line

Change 3739442 by Lina.Halper

	pose asset crash when skeleton changes

	#jira: UE-52036

Change 3739795 by Ethan.Geller

	fix linux build with implicit enum class casts, pt 2

Change 3740553 by James.Golding

	Sweeps with an initial overlap now put more useful info (from PhysX) into HitResult::ImpactPoint
	#jira UE-47566

Change 3740560 by James.Golding

	- Don't rebuild render data on SkeletalMesh interactive property changes
	- Remove unnecessary render resource release in SkeletalMesh PreEditChange
	#jira UE-51652

Change 3740562 by James.Golding

	Extensibility improvements to PhysicsAssets (from NVIDIA)

Change 3740563 by James.Golding

	PR #4066: Physical Animation Crash fix - Prevent crashing if the scene has already been removed or index was invalid. (Contributed by DSDambuster)

	#jira UE-50546

Change 3740564 by James.Golding

	PR #4175: Added functions to SpringArmComponent to get relevant status of the Collision Test (Contributed by alexformosoc)
	#jira UE-51761

Change 3740587 by Benn.Gallagher

	CIS fixes for non-cloth platforms and initialization order fix

Change 3740658 by Thomas.Sarkanen

	Update cloth appropriately in the physics asset editor

	When moving primitives, just update the underlying extracted collision - we dont reset the entire simulation.
	Reset simulation when making more 'major' potential changes (adding/removing collision etc.)
	Optionally reset cloth when simulation starts/stops in the physics asset editor

	#jira UE-50949 - Phat Editor with cloth collisions
	#jira UE-48779 - Ability to reset clothing during physics simulation
	#jira UE-48778 - Moving collision in Physics editor doesn't interact with cloth

Change 3743354 by Benn.Gallagher

	CIS Fix

Change 3743419 by Thomas.Sarkanen

	Preview buttons are now present where applicable

	Preview mesh button reordered to be consistent with other anim editors.
	Preview animation re-instated where applicable.

	Also fixed skeleton tree icons hiding when bones are not relevant - this was confusing depending on bone layout

	#jira UE-50894 - Animation Editors - Include Preview Mesh and Animation Buttons

Change 3743529 by Thomas.Sarkanen

	Moved constraint and physical anim profile indicators to the top of the details panel

	Indicators now show assignment status.

	#jira UE-50895 - Constraint Profiles requests

Change 3743604 by Jurre.deBaare

	Duplicating from 4.18.1:

	[CrashReport] UE4Editor_Core!FMath::ComputeBaryCentric2D() [unrealmath.cpp:1951]
	#fix pre-emptive early out on the collinear test, and found other minor bug with bounds test as well
	#jira UE-51917

Change 3743757 by Lina.Halper

	Adding more ensure to detect NaN

Change 3743791 by Ori.Cohen

	Fix CIS and stack size issues

Change 3744008 by Benn.Gallagher

	Gravity override support for clothing interactor.

	#jira UE-51014

Change 3744439 by Michael.Karambelas

	Updating and investigating CableActor automation tests

Change 3744566 by Martin.Wilson

	Possible fix for very rare anim corruption (missing raw data). Moved Super::PostLoad call above track verfiy to make sure skeleton is loaded.

	#jira UE-49335

Change 3745963 by Martin.Wilson

	Fix ensure being hit because users could turn on both "Use Adaptive Error" and "Use Adaptive Error 2" at the same time

	#Jira UE-52044

Change 3748585 by Aaron.McLeran

	Fixing crash when loading editor with synth components.

Change 3749071 by Aaron.McLeran

	Fixing ambisonics submix format

Change 3749969 by Danny.Bouimad

	Updating TM-AnimPhys to be more performant on Switch

Change 3750103 by Danny.Bouimad

	Checking in automated test to cover Debug Show Collision, Visibility Collision and Player Collision. (Disabled currently due to active bug causing incorrect ground truths to be generated UE-52052)

Change 3754465 by Ethan.Geller

	Fixing panning in audio mixer after submix format feature

Change 3755637 by Lina.Halper

	Back out changelist 3739214
	- still add back invalidation

	#jira: UE-52159

Change 3756385 by Lina.Halper

	- Adding ground truth for the cable component test map
	- Disabled first test as it has BP none access warning

	#jira: UE-52370

Change 3756707 by Ethan.Geller

	fix potential mem leak in mixer source

Change 3757148 by Aaron.McLeran

	Fixing surround sound bugs due to recent changes to submix format.

Change 3757583 by Aaron.McLeran

	Fix cook with synth component

Change 3758477 by Danny.Bouimad

	Fixing Disabled cable actor test, checking in screenshots for a disabled test.

Change 3758873 by Ethan.Geller

	#jira UE-52389 Remove assert on getting a hash for a unique net id.

[CL 3759284 by Marc Audy in Main branch]
2017-11-15 16:13:28 -05:00
Stanley Hayes
f9da779043 Copying WEX-Staging @ (WEX/Main @ 3740665) to //UE4/Main
#lockdown Nick.Penwarden
#rb none

Copying //UE4/WEX-Staging to //UE4/Dev-Main (Source: //WEX/Main/Engine @ 3740665)
#lockdown Nick.Penwarden

Change 3739326 by Ben.Zeigler

	Change iteration order of depends nodes so it lists hard management references before soft management references, this is better for the UI when lots of references exist
	Update text for loading custom asset registry bin to be clearer

Change 3739000 by John.Opila

	Caching optimization for text widget desired size.

Change 3713551 by David.Nikdel

	Allow Set Properties to recognize Json array values as importable.

Change 3712485 by Josh.May

	Added Pete's fix for the PLATFORM_TVOS/PLATFORM_IOS #define conflict introduced by mach-o/loader.h

Change 3700174 by Chris.Babcock

	Fix setFilters crash on some Android devices

Change 3691531 by Josh.May

	Fixed an intermittent crash that occurred when opening the AssetAuditBrower. AssetManagerEditorModule's CurrentRegistrySource was getting set too early, becoming invalid in the event that RegistrySourceMap is resized.

Change 3688409 by Gil.Gribb

	Critical fix for an extremely rare race condition on async IO.

Change 3687529 by josh.may

	Force layout recalculations for single-pass layout SScaleBoxes when their final scale is zero. This tends to occur in calls to SearchForWidgetRecursively before a SScaleBox's AllottedGeometry has been calculated.

Change 3684788 by Peter.Sauerbrei

	fix for archive generation on the build machines

Change 3684320 by john.opila

	Workaround for widgets disappering. Ensuring scale is never 0 so we don't get divide by zero.

Change 3684042 by Peter.Sauerbrei

	more logging to figure out why there is not data in the Applicaiton diretory of the archive

Change 3678620 by Ben.Zeigler

	Minor text changes to size map

Change 3678314 by Ben.Zeigler

	Add Make Collection With References and Audit References to Size Map to easily allow inspecting the specific set of filtered packages in other tools

Change 3677875 by Ben.Zeigler

	Fix crash in size map from keeping reference to node after map was resized, and undo the Name->DisplayName rename as it could affect licensees

Change 3676899 by Peter.Sauerbrei

	narrowed down to the plist data, trying to figure out if it is missing or not

Change 3676570 by Peter.Sauerbrei

	more logging to track down the archive error

Change 3676293 by Peter.Sauerbrei

	fix for compile failure on IOS

Change 3676172 by Peter.Sauerbrei

	potential fix for missing icons in the ipa when run through the build machines

Change 3673544 by Ben.Zeigler

	Sort AllChunksInfo alphabetically so the order is consistent accross build and platforms to facillitate diffing

Change 3671597 by Peter.Sauerbrei

	Merging
	//UE4/Dev-Mobile/Engine/...
	to //WEX/Main/Engine/...

Change 3670932 by Ben.Zeigler

	Change it so cooking with the AssetManager writes out AllChunksInfo.csv next to the DevelopmentAssetRegistry, but not the per-chunk csv files as those are not useful. Also made the size counts platform accurate

Change 3670906 by Peter.Sauerbrei

	update WEX for building with Xcode 9

Change 3660026 by Josh.May

	Moved SWebBrowserView's parent window "searches" to OnPaint. There's definitely something wrong with FindWidgetWindow... Even after deferring SWebBrowserView's calls to FindWidgetWindow until first Tick, the same widget layout artifacts could occur after opening multiple SWebBrowserViews. And, as Nick pointed out in the related email thread, this approach is also more efficient.

Change 3655411 by Josh.May

	Ensure SWebBrowserView's parent window searches are deferred until after Construct. We haven't puzzled through it yet, but calling FindWidgetWindow during Construct seems to corrupt some Slate state. Deferring this search until later gets around the issue and makes sense anyway, given the widget isn't added to the hierarchy until after Construct.

Change 3655407 by John.Opila

	Sneaking in some stats for SpawnActor.

Change 3654649 by Ben.Zeigler

	Refactor SizeMap and ReferenceViewer into the AssetManagerEditor plugin, and delete the old modules.
	Fix SizeMap crash that I temporarily added. TreeMap is initialized weirdly

Change 3648912 by Ben.Zeigler

	First half of changes to refactor sizemap/reference viewer into the asset manager editor plugin
	Add GetAllContentBrowserCommandExtenders to ContentBrowserModule that allows registering commands/keybinds to extend the content browser via plugins
	Add GetSharedMenu/ToolbarExtensibilityManager to AssetEditorToolkit that allows extending the generic asset editor via plugin
	Move the code to spawn the Reference Viewer and SizeMap into the AssetManagerEditor plugin so these UIs can be tightly bound and share data. This also enables keybinds for Size Map and Audit.
	Remove size map from the save as dialog, it created a special modal size map window that will not work after my refactor

Change 3639419 by Ben.Marsh

	Use DirectoryInfo instead of DirectoryReference to enumerate projects. Tracking down UHT compile failures on Mac.

Change 3638619 by David.Nikdel

	AsyncLoading: Suggested change by Gil to add lock prior to changing LoadPhase to WaitingForHeader (presumably to make FArchiveAsync2::StartReadingHeader's assumption about locking true)

Change 3633562 by Chris.Babcock

	Update Android virtual keyboard support

Change 3630564 by Peter.Sauerbrei

	fix for the manifest stage problem

Change 3629577 by Chris.Babcock

	Fix merge errors in GameActivity.java

Change 3629154 by David.Nikdel

	Disable debug device output in shipping builds (even if logs are enabled)

Change 3626542 by John.Opila

	Back out changelist 3603452
	Undoing the OpenGL load changes as the initial load time was just too damn high!

Change 3620472 by David.Nikdel

	Fix from Nick to fix a BP that crashes on Compile

Change 3618090 by Josh.May

	Reset inertial scrolling for SScrollboxes and STableView-based Slate widgets when scrolling to specific scroll offsets.

Change 3613980 by Chris.Babcock

	Fix issue with Android password keyboard input

Change 3603825 by John.Opila

	Shader change doesn't seem to like standalone PC.

Change 3603452 by John.Opila

	Moving openGL shader compilation into loading instead of at the last minute.

Change 3593008 by David.Nikdel

	Merging CL 3504471
	from //Fortnite/Dev-Cinematics/Engine/...
	to //WEX/Main/Engine/...
	----------------------------------------
	Sequencer: Delay mouse capture until drag for sequencer time slider
	  - Fixes context menus not opening as a result of mouse capture being taken on mouse down

=================================================================================================
THESE CHANGES TOUCH MULTIPLE PLATFORMS
=================================================================================================

Change 3739931 by Ben.Zeigler

	changes to some asset manager code modified on WEX, and fix several FStringAssetReference->FSoftObjectPath

Change 3723451 by Josh.May

	Exposed OnBeforePopup to UMG and Blueprint for UWebBrowser. This is triggered by the CEFBrowserHandler when attempting to open hyperlinks targeting  _blank and, when not handled, would result in the page never loading.
	Added OnBeforePopup handling for the HTMLNewsWidget, ensuring the URLs are opened in an external browser.

Change 3711256 by Dmitriy.Dyomin

	Fixed: Friend list invalidation panel relative transform caching issues
	Also fixed issues with and set slate.cacherenderdata=0 for better batching

Change 3698695 by Josh.May

	Made the UMG default font overridable via config, allowing us to replace it with a game-scope localized Font asset. If there's a better place for this mechanism/accessor to live, please let me know.
	Added a new 'Default' font that replicates '/Engine/EngineFonts/Roboto'. This also has a localized Font asset variant for zh-Hans.

Change 3676085 by Josh.May

	Implemented MulticastBroadcastReceiver, a BroadcastReceiver capable of "multicasting" intents to other receivers. AppsFlyer defines a similar MultiInstallBroadcastReceiver class specific to the INSTALL_REFERRER intent, but it MUST be the very first one defined (cannot be guaranteed in our build pipeline AFAIK).
	Added MulticastBroadcastReceiver (for INSTALL_REFERRER) to the AndroidManifest generation logic, allowing BOTH Adjust and AppsFlyer to receive the intent.
	Added dev channel support for AndroidAppsFlyer, enabled conditionally based on shipping/distribution and whether or not a valid AppsFlyerDevChannel name is specified. For WEX, our dev channel is WEX_Dev.
	Fixed AppsFlyer_EventAttribute's Java class lookups and constructor signature.

Change 3670860 by Ben.Zeigler

	First version of improvements to tools to analyze chunks
	Size Map and Reference Viewer now support reading cooked  asset data and displaying chunks. Changing the platform dropdown in the Asset Audit window switches the other windows as well
	Asset Audit window now has "Add Chunks" button, and selecting AllTypes in the Primary Asset drop down will add all primary assets
	Size Map now shows Disk Size by default, and supports a right click context menu
	Significant UI improvements to all 3 tools, including keybind support
	Split Manage references into Hard and Soft, where Hard are set explicitly and soft are inherited. This allows determining why an asset was included in a chunk/primary asset
	When the AssetManager builds management information for the audit browser/cooker, it now precomputes a chunk mapping for relevant assets. PackageChunkType is used to refer to these virtual primary assets
	Add callback to content browser delegates to handle adding arbitrary FAssetData to an asset view, used to show chunks
	Several changes to the ITreeMap UI used by size map

Change 3670290 by Josh.May

	Added AppleAppID configs for AppsFlyer.
	Added AdSupport and iAd frameworks for IOSAppsFlyer. According to the AppsFlyer documentation, these are required for IDFA and Apple Search Ads tracking.

Change 3643531 by Peter.Sauerbrei

	fix for save game location and certain data backed up to the cloud when it shouldn't

Change 3629303 by Ben.Zeigler

	Merge fix for shared ptr corruption in async loading thread from Main, and enable asnyc loading thread for WEX
	Copy of CL #3623261 and 3625806

Change 3629219 by Peter.Sauerbrei

	Merging using WEX_Main_to_UE4_WEX_Staging
	bringing over the files that Stan didn't have access to

Change 3629063 by Stanley.Hayes

	Engine Merge: Merging using WEX_Main_to_UE4_WEX_Staging(flipped)

Change 3618988 by Josh.May

	Reimplemented DevicePerformanceBucket-based WorldMap class selection to account for the WorldMap actor being pre-serialized into the UMAP.
	On a related note, ChildActorComponents marked as "editor only" now mark their spawned Actors as Transient to prevent them from getting serialized at cook-time.

Change 3597981 by Josh.May

	Converted WExpCampaignDefinition's RegionDefinition refs back to hard references and, to compensate, converted WExpZoneDefinition's ZoneBoss refs to soft references. This moves the RegionDefinitions and ZoneDefinitions from chunk 2 to chunk 1 without pulling in assets for the ZoneBosses. This also allows us to grab the ZoneBoss refs during UWExpAssetManager::GetMainMenuAssetList.
	Reworked UWExpAssetManager::GetMainMenuAssetList and UWExpAssetManager::GetLevelAssetList to build more "complete" asset lists by expanding lists of PrimaryAssetIds.
	Tweaked the WorldMap's ZoneBoss spawning to account for the switch to AssetPtrs.

Change 3581214 by Josh.Markiewicz

	added cookie deletion for Google on logout

[CL 3750870 by Stanley Hayes in Main branch]
2017-11-10 17:20:53 -05:00
Marcus Wassmer
ede472db17 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3680113)
#lockdown Nick.Penwarden
#rb none
============================
  MAJOR FEATURES & CHANGES
============================

Change 3441680 by Uriel.Doyon

	Added units to point light intensity, to allow the user to specify the value in candelas or lumens.
	New point light actors now configure the intensity in candelas by default.
	Replaced viewport exposure settings by an EV100 slider.
	Hidding the tone mapper in the show flag now still applies the exposure.
	Added a new AutoExposure method called EV100 which allows to specify :
	- MinEV100, MaxEV100
	- Calibration Constnat
	- Exposure Compensation
	#jira UE-42783

Change 3454934 by Chris.Bunner

	Backing out changelists 3441680, 3454636 and 3454844 for the sake of integration stability.

Change 3629223 by Rolando.Caloca

	DR - Rollback //UE4/Dev-Rendering/Engine/Source/Runtime/VulkanRHI to changelist 3627847

Change 3629708 by Rolando.Caloca

	DR - vk - Redo some changes from DevMobile
	3601439
	3604186
	3606672
	3617383
	3617474
	3617483

Change 3636145 by Chris.Bunner

	Linux compile fix.

Change 3636198 by Chris.Bunner

	Include fix.

Change 3636225 by Daniel.Wright

	Removed spammy draw event

Change 3636397 by Daniel.Wright

	Visualize volumetric lightmaps uses 18% grey in lit mode

Change 3636398 by Daniel.Wright

	Translucency lighting modes work with Volumetric Lightmaps
	* The old Indirect Lighting Cache always interpolated one sample per object, while Volumetric lightmaps operate at the frequency of the Translucency Lighting Mode (per-vertex or per-pixel) so the lighting accuracy is much higher.
	* The old ILC always applied the single lighting sample with a per-pixel normal, even in per-vertex lighting modes
	* Volumetric PerVertex NonDirectional (cheapest lit translucency) went from 74 instructions down to 42
	* Volumetric Directional went from 104 up to 122

Change 3636604 by Chris.Bunner

	Added a material translation error on identically named/associated but differently valued parameters as this will cause one of them to be lost during parameter evaluation, the result being "random".

Change 3637668 by Rolando.Caloca

	DR - hlslcc - Skip preprocessor when not required which reduces peak mem consumption by ~500 MB
	- Fix missing indexing on intrinsic return type

Change 3638541 by Chris.Bunner

	Fixed editor materials - Skip hardcoded parameter names that we rely on being overridden when checking for non-matching duplicate parameters.

Change 3638798 by Mark.Satterthwaite

	Rebuilt hlslcc for Mac for Rolando's 3637668 changes.

Change 3638861 by Mark.Satterthwaite

	Missed making a log verbose in the Metal ring-buffer.

Change 3639482 by Rolando.Caloca

	DR - vk - Minor fixes

Change 3639909 by Michael.Lentine

	Add special case for struct needed to compile.
	Workaround issues in parser such that (x)[0] is replaced with x[0] and (x).a is replaced with x.a.

Change 3639916 by Michael.Lentine

	Spelling fix.

Change 3640053 by Mark.Satterthwaite

	Fix Desktop Forward rendering on Nvidia Metal rendering on macOS by modifying the shader and runtime to treat ForwardLocalLightBuffer data as uint rather than float and invert the use of as*() casts.

	Tthis is *necessary* to avoid a bug/limitation of Nvidia's current Metal shader compiler that flushes all denorm values to zero on load from any resource. AMD & iOS Metal only flush-to-zero when sampling from textures and that's what Apple regard as the expected behaviour. I have however asked them to standardise on the D3D behaviour of preserving denorms on all load, move (incl. min/max/as*()-casts) & store operations. This won't happen in the current or imminent OS/Xcode releases.

	Now only Intel Metal is broken and their problems run deeper.

	#jira UE-48881

Change 3640983 by Olaf.Piesche

	Cache the depth buffer collision shader for GPU particles even when simple forward is enabled, as that can be turned off at runtime.

	#jira UE-48799

Change 3641480 by Michael.Lentine

	Add min16float to FP16Math

Change 3642442 by Mark.Satterthwaite

	Fix the native shader libraries again & undo the increase in cook time from changes to the way FShaderCodeLibrary was compiling & deduplicating the shaders.
	- Remvoe the single linear array for accumulated shader code: reallocating this is tremendously expensive and will double the time taken to iteratively cook large projects.
	- Uncompress the shader data for the native library system so that it actually works again.
	- Fix some errant change to the Metal compiler that was trying to wedge the fully compiled library into the single Metal library which is 100% bogus.

	#jira UE-49192

Change 3642919 by Chris.Bunner

	Reverted unintended changes to material static parameter set serialization.
	Bumped material version to force re-serialization.
	Fixed a few typos.

Change 3642923 by Richard.Wallis

	Fix for "Pixel Inspector On" message not disappearing when closing pixel inspector window while on.  Handle tab closed events to cancel the pixel inspector if window closed while running.

	#jira UE-46504

Change 3643296 by Michael.Lentine

	Convert all structures that aren't use globally to halfs.

Change 3643381 by Ryan.Brucks

	New Plugin allowing Blueprint Texture and RT reads as well as MIC creation and modification.

Change 3643929 by Ben.Salem

	Added better precision on thread values in Perf Monitor. Also added global thread values to go with per-world ones to help track down the most accurate numbers possible.

	#tests Ran locally, changes validated by benj

Change 3644203 by Mark.Satterthwaite

	Refactor mtlpp a little bit to make the compiler do more of the work & update for all the latest publicly exposed APIs.

Change 3644336 by Mark.Satterthwaite

	Ref-count the mtlpp Device object so that it can be the repository for IMP caching - now just have to go through the types created from a specific device and have them keep a reference....

Change 3644431 by Uriel.Doyon

	Added a intensity units property, for point lights and spot lights, that can be set to Candelas, Lumens or Unitless (legacy).
	The default units value for newly placed point lights and spot lights is configured in the project settings.
	Spot lights configured in lumens have their whole luminous energy redirected toward the cone.
	This means that changing the outer cone angle, changes the spot light brightness.
	New exposure menu that uses an EV100 slider.
	New post process settings "camera" tab regrouping : ShutterSpeed, ISO,  Aperture and ExposureCompensation.
	Post process settings "auto exposure" tab renamed "exposure".
	The calibration constant for "Auto Exposure Basic" is now configurable in the advanced tab.
	The auto exposure method is renamed "Metering Mode"

	New pre-exposure feature that allows the engine to apply the previous frame exposure before writing to the scene color.
	This allows the engine to render the scene with similar range than the final color (after exposure), and avoid arithmetic overflow for low precision RT formats.
	The amount of exposure applied directly is called pre-exposure, and is compensated by a smaller post-exposure value.

Change 3645098 by Marcus.Wassmer

	Don't add meshes twice when in simpleforward

Change 3645551 by Daniel.Wright

	VolumetricScatteringIntensity is greyed out based on Mobility

Change 3645707 by Chris.Bunner

	Skip empty parameters when identifying invalid duplicates during material translation.

Change 3646225 by Uriel.Doyon

	Texture streaming support for particle sub-uv

Change 3646323 by Rolando.Caloca

	DR - vk - Fix bad update texture 2/3d parameters

Change 3646463 by Mark.Satterthwaite

	Metal shader files that can serve as extensions to the metal_stdlib rather than trying to wedge even more into the shader compiler. Might as well leverage Metal's C++'ness.
	Currently just a skeleton of a buffer type that would better emulate HLSL Buffer<>/RWBuffer<> objects.

Change 3646727 by Marcus.Wassmer

	fix linux and nonunity compiles

Change 3647777 by Rolando.Caloca

	DR - Mobile Vulkan optimization

Change 3647822 by Lauren.Ridge

	Layers are now renameable (except Layer 0 is always "Background") in Material Layers Functions

Change 3647918 by Chris.Bunner

	Static analysis fixes - Monolithic include, forward delcared enums, locally shadowed variable.

Change 3648010 by Michael.Lentine

	Don't use min16float by default.

Change 3648015 by Michael.Lentine

	Add special case fixes for min16float as well as half on console.

Change 3648024 by Lauren.Ridge

	Moving MaterialLayersFunctions Layer naming to EditorOnly wrappers

Change 3648127 by Lauren.Ridge

	Moving name getter functionality to FMaterialLayersFunctions

Change 3648265 by Lauren.Ridge

	Fixing loctext key

Change 3648293 by Rolando.Caloca

	DR - D3D12 fix

Change 3648326 by Rolando.Caloca

	DR - vk - Added subrectangle support when updating Texture2D and Texture3D

Change 3648522 by Rolando.Caloca

	DR - vk - Do not try to create a BufferView of a StructuredBuffer (no valid pixelformat)

Change 3648612 by Rolando.Caloca

	DR - vk - Implement RHIMapStagingSurface

Change 3648673 by Rolando.Caloca

	DR - vk - Reduce Vulkan pipeline cache disk size by filtering duplicated shader ucodes

Change 3648913 by Arne.Schober

	DR - Performance optimization during HLod traversal. using vector load and avoiding array copy by passing it through reference instead through value.

Change 3649443 by Daniel.Wright

	Exposed EmissiveBoost, since Lightmass supports Emissive areas on meshes

Change 3650436 by Mark.Satterthwaite

	Implemented the necessary extensions for Metal shading language to move lots of complexity out of MetalBackend and into actual shader code to make life *vastly* simpler.

	- Full ue4::typed_buffer<T> wrapper type & associated ue4::buffer<>/ue4::buffer_atomic<> API - totally untested but should be functionally equivalent to HLSL Buffer<T>/RWBuffer<T>.
	- All the sensible casts I can think of are now defined in ue4_format - any additional ones can just be added. The enurm of formats needs to be exposed to MetalRHI so we upload the correct values, but this should be trivial.
	- Added a full series of wrappers around texturecube_array and depthcube_array to insulate code from whether it is backed by a real cube_array or a texture2d_array so we don't have to maintain complicated variants for new/old iOS devices.
	- Added implementations for a bunch of annoying HLSL & GLSL intrinsics that were being matched by name + reverse_bits which needs a custom implementation on old shader standards.

Change 3650861 by Rolando.Caloca

	DR - vk - Fix warnings

Change 3651116 by Rolando.Caloca

	DR - vk - Support for compressed saved PSO cache

Change 3651321 by Rolando.Caloca

	DR - vk - Prep for load multiple PSO files

Change 3651337 by Chris.Bunner

	Editor-only default material fallback (hardcoded material).

	#jira UE-48404

Change 3651839 by Rolando.Caloca

	DR - vk - Integrate minor pipeline changes

Change 3652042 by Mark.Satterthwaite

	More work on mtlpp:
	- Selector class that caches IMP from SEL & Class.
	- Fixes to ns::Error.
	- Added test case application for testing denorm & float reinterpret-cast behaviour on Metal.

Change 3652370 by Uriel.Doyon

	New "stat StreamingOverview" giving high level metrics of texture usage.
	New function ResetAverageRequiredTexturePoolSize() and GetAverageRequiredTexturePoolSize() giving the average ideal value for "r.streaming.poolsize".

Change 3653658 by Chris.Bunner

	Material vertex interpolator for sprite and gpu sprite particles.

Change 3653676 by Rolando.Caloca

	DR - vk - Integrate changes: Multiple PSO caches, shared ucode & compression, size reduction up to 80%

Change 3653940 by Daniel.Wright

	Moved Volumetric Lightmap textures out of FScene and into FPrecomputedVolumetricLightmapData so their lifetime can match the MapBuildData.  This allows tossing the source BulkData in game after RHI texture creation even though switching lighting scenarios does Release/InitializeRenderingResources multiple times.

Change 3653956 by Daniel.Wright

	Fixed leak of BatchVisibilityId's

Change 3653991 by Daniel.Wright

	Fixed missing include

Change 3654013 by Daniel.Wright

	Refactored reflection capture composite SM4 handling, now forces fully rough even if !REFLECTION_COMPOSITE_USE_BLENDED_REFLECTION_CAPTURES (forward shading default)

Change 3654018 by Daniel.Wright

	Remove unused SM4 reflection capture cubemap

Change 3654118 by Rolando.Caloca

	DR - vk - Fix for queries; support for r.Vulkan.ProfileCmdBuffers to only time cmd buffers w/o gpu bubbles

Change 3654339 by Chris.Bunner

	Temporarily disabed a material error whilst working with content teams to fix the introduced bugs.

Change 3654534 by Daniel.Wright

	Editor is only supported on Feature Level 5 platforms.  Added a message box and exit when SM4 is detected (d3d10, OpenGL 3).

Change 3654751 by Rolando.Caloca

	DR - vk - Add readback for RGB10A2; minor optimization

Change 3654940 by Rolando.Caloca

	DR - vk - Warning fix

Change 3655104 by Mark.Satterthwaite

	Add a bunch of code to mtlpp to wrap the Xcode command-line Metal tools and use them to provide a convenient command-line tool that can compile two Metal shaders & diff the resulting AIR to make debugging easier. Obviously this only works on macOS.

Change 3655173 by Jian.Ru

	Render dithered material as masked if a stencil prepass is not used

	#jira UE-50064, UE-49537

Change 3655479 by Daniel.Wright

	Fixed HandleLegacyMapBuildData not getting called on P maps loaded in the editor, which apparently was dropped in an integration error, causing all legacy maps (before the BuildData change) to lose their built lighting.

Change 3656341 by Richard.Wallis

	Metal validation checks to test for drawing of the end of a vertex stream as seen in UE-48172 (Landscape Mesh Flickers Rapidly When Using Sculpting Landscape).  This is not a fix for that but just a error log to catch the bad draw calls.

	#jira UE-48172

Change 3656844 by Rolando.Caloca

	DR - vk - Avoid microcode copy
	- Fix link error

Change 3656894 by Rolando.Caloca

	DR - vk - Enable api dump without needing validation enabled

Change 3656915 by Marcus.Wassmer

	Fix DX12 buffer lock for read

Change 3657166 by Rolando.Caloca

	DR - vk - Proper fix for api dump layer

Change 3657401 by Rolando.Caloca

	DR - vk - Linux compile fix

Change 3657607 by Rolando.Caloca

	DR - vk - Prep for changes

Change 3658722 by Chris.Bunner

	Refresh shared texture samplers when changing max ansiotropy level (e.g. scalability settings).

	#jira UE-30086

Change 3659499 by Daniel.Wright

	Moved bEnableAutoLODGeneration to LOD category so it's not the only one in HLOD category

Change 3659644 by Mark.Satterthwaite

	D3D11 equivalent to 3656341 (only enabled when -d3ddebug is) to validate DrawIndexedPrimitives isn't trying to draw off the end of the instanced vertex streams which has inconsistent (and potentially undefined) behaviour across the various APIs we support. This fires when painting the landscape because the code attempts to render with a FirstInstance value that is as large as the number of elements in the instance-data streams which D3D11 drivers silently fails to render, but which Metal (& probably Vulkan too) will renders as garbage. This pattern is wrong & will be even more dangerous in a Draw*Indirect world.

	#jira  UE-48172

Change 3659831 by Rolando.Caloca

	DR - vk - Copy 3657927 (fixes for Mali)

Change 3661921 by Rolando.Caloca

	DR - vk - Minor log/info changes

Change 3661985 by Mark.Satterthwaite

	Change the Metal sampler filter translation to better match D3D.

Change 3662050 by Richard.Wallis

	Compile fix for Metal enums.

Change 3662062 by Rolando.Caloca

	DR - Copy from 3662060
	- OpenGL cloth fix

Change 3662100 by Mark.Satterthwaite

	Use a temporary file and an atomic move to put the Metal PCH into the right place and reduce the number of false PCH compile failures on the build farm.

Change 3662253 by Daniel.Wright

	Reflection Captures support Lighting Scenarios without recapturing
	 * Reflection Captures are now part of the Map Build
	 * Modifying a capture in editor will display a preview, but game can only display built captures (black for unbuilt with screen message)
	 * Reflection Capture build data moved to the BuildData package
	 * Building lighting / reflection captures no longer dirties ULevels
	* Sky lights which capture the scene now work correctly with Lighting Scenarios
	* Lighting Scenarios must now be loaded for each time they are made visible (no switching back and forth while keeping both loaded)

Change 3663215 by Mark.Satterthwaite

	Initial, incomplete, tool added to mtlpp to help debug macOS Internal Compiler Errors - the mtlpp command-line tool can be fed the debug output from UE4 along with compiler settings to automatically compile shaders and construct the render pipeline that crashes the runtime compiler.
	So far only macOS render-pipeline-states are supported currently.

Change 3663293 by Mark.Satterthwaite

	Added Metal device selection to the mtlpp command-line tool so I can quickly test compile on dual-GPU Macbook Pro's.

Change 3663471 by Daniel.Wright

	Reflection Capture Builds no longer use UEditorLevelUtils::SetLevelVisibility to control level visibility, which streams out sublevels, modifying nav mesh
	Fixed status updates during Reflection Capture Build
	Captures overflowing GMaxNumReflectionCaptures now log a warning instead of pretending that they built successfully

Change 3664056 by Rolando.Caloca

	DR - Linux compile fix

Change 3664460 by Daniel.Wright

	Restored unused LoadTimesObjectVersion, packages saved with it will issue a warning on load

Change 3664802 by Uriel.Doyon

	Fixed flash created by pre-exposure when the value changed dramatically between frames

Change 3664890 by Daniel.Wright

	Created 'Stat MapBuildData' to track the memory size of lighting and reflection capture build outputs

Change 3665163 by Rolando.Caloca

	DR - Copy from 3665156
	- Gracefully fail when there are mem leaks exiting Vulkan

Change 3665629 by Daniel.Wright

	Only Surface domain materials cast shadows in Lightmass

Change 3665855 by Marcus.Wassmer

	PR #4032: Fix comparison of SceneColorFormat (Contributed by Hybrid0)

Change 3666707 by Guillaume.Abadie

	Replaces some custom material node to get View.BufferSizeAndInvSize with ViewProperty material expression in some engine material functions.

Change 3667239 by Rolando.Caloca

	DR - Use hlslcc define for common issues

Change 3668108 by Brian.Karis

	Disabled to Catmull-Rom filter. Too many flickering issues. Disabled antiflicker as well.

Change 3668157 by Mark.Satterthwaite

	In the prototype Metal stdlib extension library add inline versions of the D3D SM6 "wave" intrinsics that can be expressed in terms of Metal 2.0 simd/quad group operations (macOS=simd, iOS=quad). These are unlikely to be as efficient as direct intrinsics but they should be functionally equivalent.

	These functions are not available *yet* as I still need to hook the ue4_stdlib into MetalShaderFormat & MetalRHI.

	The following HLSL 6 functions are implemented:
	WaveAllBitAnd
	WaveAllMax
	WaveAllMin
	WaveAllBitOr
	WaveAllBitXor
	WaveAllEqual
	WaveAllProduct
	WaveAllSum
	WaveAllTrue
	WaveAnyTrue
	WaveBallot
	WaveGetLaneCount
	WaveGetLaneIndex
	WaveOnce
	WavePrefixProduct
	WavePrefixSum
	WaveReadFirstLane
	WaveReadLaneAt

	The following can't be implemented in Metal as of Metal 2.0 AFAIK:
	WaveGetOrderedIndex
	WaveIsHelperLane
	GlobalOrderedCountIncrement
	QuadReadLaneAt
	QuadSwapX
	QuadSwapY

Change 3668260 by Olaf.Piesche

	Cache particle collision shaders regardless of simple forward state

	Missed this checkin

	#jira FORT-51307

Change 3669243 by Daniel.Wright

	Bumped shader version to propagate FReflectionCaptureData rename

Change 3669369 by Mark.Satterthwaite

	Duplicating Metal changes from //UE4/Release-4.18 to Dev-Rendering (//UE4/Dev-Rendering)

	3662503 Collapse system-variables to one declaration in MetalUtils to avoid later shader compiler errors when they are specified more than once, which is seemingly permissable. Fixes volumetric fog.

	#jira UE-50293

	3665210 - Invalidate all Metal shaders again to force a recompile to workaround another driver bug.
	- On macOS compact the clip-distance value into a single output to avoid bugs in the runtime pipeline compilers.
	- In SCW's direct-compile mode MetalShaderForamt should always dump the resulting Metal shader and print any errors we encounter to the log.
	- Change FGenerateMetalVisitor to take a FMetalCodeBackend& not a FMetalCodeBackend* to avoid a lot of pointless pointer validation.

	#jira UE-50244

	3665429 Fix a crash on shutdown due to MetalRHI caching vertex-declarations beyond the lifetime of the RHI by moving the cache into the FMetalDynamicRHI itself.
	#jira UE-50356

	3665613 Fix DistanceField rendering on Metal & the associated validation layer error when it is enabled - MetalRHI can't use the same approach as Vulkan without a bit more work.

	#jira UE-50364

	3667584 Fix black flickering on some materials that use World Position Offset - the Metal sincos intrinsic comes into two flavours for single precision floats and we want the precise version not the fast version. The "cross" implementation needed a few more fma's too and this change has to invalidate Metal shaders again to take effect.
	#jira UE-50399

	3667805 Changing sincos in Metal fragment shaders had undesirable side-effects - the compiler is now re-associating another floating point operation - so limit the use of precise::sincos to vertex-shaders for now. This fixes the WPO materials without causing any other obvious problems.
	#jira UE-50399

Change 3669912 by Mark.Satterthwaite

	Fix Metal compilation for PCSS shadows - the HLSL that is compiled uses both SampleCmp and Sample which GLSL disallows (shadowSampler types in GLSL only allow SampleCmp) but is perfectly valid in Metal where only the texture type declaration changes.

	Duplicate MetalBackend.cpp changes from Joe.Graf's: 3667781
	Fixed an extra ) being emitted during HLSL->Metal translation
	Added depthcube_array support per Mark's instructions

Change 3670308 by Mark.Satterthwaite

	Missing autorelease pool blocks in MetalTexture functions.

Change 3670989 by Mark.Satterthwaite

	Stop trying to be so clever with Metal clip-distances: AMD have a bug in 10.13.0 that means we can only emit one clip-distance value, so simply emit the value with the lowest index (we have handily ordered them by importance!) and let the others become user-interpolators until this bug is resolved in a macOS SU (according to Max@AMD the fix is in, just not in time for 4.18). This means planar reflections will work, VR no-multi-view-fallback will work & layered rendering will work either individually or together - the difference being that on macOS *only* the VR no-multi-view-fallback & layered rendering paths may be slower when combined with the global clip plane.

	Hit & run fix to MetalCaptureManager and availability of tile-shader functions while I'm here.

	#jira UE-50518

Change 3671014 by Mark.Satterthwaite

	Correct handling of RowLinearPVRTC blits for iOS Metal desired for Ocean.

Change 3671575 by Rolando.Caloca

	DR - Copy 3668036
	Stop syncing CPU with GPU on Vulkan

Change 3671637 by Rolando.Caloca

	DR - Copy 3670937
	Fixes Vulkan editor outline

Change 3672309 by Mark.Satterthwaite

	Submitted on behalf of Richard Wallis:

	Only disable V-Sync on Metal in macOS 10.13 when running in "true" fullscreen mode (where we switch display modes & forbid switching spaces or tabbing out) so that you won't see the rainbow artefact caused by being out-of-sync with WindowServer, only the tearing you'd expect when V-Sync is disabled. We'll chat with Apple about whether there is a way to avoid the rainbow artefact when switching spaces in Windowed Fullscreen with displaySync disabled.

	#jira UE-50134

Change 3672314 by Daniel.Wright

	User friendly message dialog for when a required key is missing from BaseLightmass.ini

Change 3672315 by Daniel.Wright

	Assert on load when a uniform buffer struct goes missing, instead of a crash on save

Change 3672476 by Chris.Bunner

	Removed duplicate material instance editor command binding that appeared in a task stream merge.

Change 3672626 by Mark.Satterthwaite

	Move the ue4_stdlib.metal extensions to MetalRHI's Public header directory as it'll need to be available to both modules and that's easier to accomplish from here.

Change 3672643 by Mark.Satterthwaite

	iOS compilation fixes.

Change 3672728 by Daniel.Wright

	Fixed encoded HDR reflection captures

Change 3672753 by Jian.Ru

	Fix texture swimming
	#jira UE-49369

Change 3672815 by Daniel.Wright

	Tooltip for build button explaining why it might be disabled

Change 3673350 by Rolando.Caloca

	DR - vk - Do not reallocate memory every draw call

Change 3673501 by Rolando.Caloca

	DR - vk - Remove more reallocations

Change 3673505 by Rolando.Caloca

	DR - Remove global variable with semantic

Change 3673514 by Rolando.Caloca

	DR - vk - compile fix

Change 3675899 by Chris.Bunner

	Fixed support for editor-time transient parameter overrides. This happens when a compiled material's scalar or vector parameter is changed in value only, the active material resources should also update and be reverted when the material graph is closed. The code was incorrectly pulling base parameters from expressions instead of the actual uniform.

Change 3676843 by Arne.Schober

	DR - UE-49473 - Fix Stateleak caused by custom drawer in the long for loop, where the depth stencil state might not be reset in a subsequent itteration of the loop.

Change 3678269 by Daniel.Wright

	Fixed Encoded HDR reflection capture data getting the wrong Brightness applied when cooking

Change 3678543 by Daniel.Wright

	MapBuildData now tosses the unneeded reflection capture format on load.  Affects target platforms that require multiple formats at cook time.

Change 3679602 by Jian.Ru

	Fix up mesh decal shader complexity view mode
	#jira UE-50272

Change 3679959 by Chris.Bunner

	Fixed logic on overriden vector parameter retrieval for material instances checking a function owned parameter.

	#jira UE-50712

Change 3679998 by Daniel.Wright

	Fixed crash when precomputing static visibility only

[CL 3680175 by Marcus Wassmer in Main branch]
2017-10-04 13:36:51 -04:00
Ben Marsh
4cf17e6c44 Merging //UE4/Release-4.18 @ 3660388 to Release-Staging-4.18 (//UE4/Release-Staging-4.18)
#rb none
#jira

[CL 3662266 by Ben Marsh in Staging-4.18 branch]
2017-09-25 14:08:25 -04:00
Matt Kuhlenschmidt
bb08e8c000 Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3621452)
#lockdown Nick.Penwarden
#rb none
============================
  MAJOR FEATURES & CHANGES
============================

Change 3567301 by Arciel.Rekman

	Linux: fix for importing failure when clicking shortcuts (UE-47932).

	- Slate dialog would return incorrect relative paths (not matching CWD) if Engine or Project shortcuts were used.

	#jira UE-47932

Change 3567687 by Arciel.Rekman

	Minor fixes to gdb pretty printers by icculus.

Change 3568024 by Arciel.Rekman

	Made SDL_SetWindowInputFocus() wait until window is viewable (UE-33369).

	- Pull request #2608 contributed by Ereski.
	- Updated x86_64 lib only (anticipating more changes to SDL).

	#coderview Cengiz.Terzibas, Ryan.Gordon

Change 3568173 by Max.Chen

	Movie Scene Capture: Delay on shot boundaries by setting the sequencer play rate to 0.

	This allows particles, TAA, and other effects to settle on the shot cuts.

	#jira UE-44598

Change 3568174 by Max.Chen

	Sequencer: Added option to rerun construction scripts on bound actors in the sequence every frame.

	#jira UE-31193

Change 3568331 by Matt.Kuhlenschmidt

	PR #3850: Add extensible source navigation service (Contributed by mhutch)


Change 3568350 by Matt.Kuhlenschmidt

	PR #3851: Add argument to pass params to standalone play session (Contributed by mhutch)


Change 3568387 by Matt.Kuhlenschmidt

	PR #3852: Add FEditorDelegates::BeginLocalPlay event (Contributed by mhutch)


Change 3568541 by Arciel.Rekman

	Merged Icculus' patch for copy-paste (UE-40071).

	- Alas does not seem to fix inability to copy/paste between Output log and kate.
	- Updated x86_64 lib only (anticipating more changes).

Change 3568547 by Arciel.Rekman

	Fix OpenGL queries reused after deletion.

Change 3568790 by Matt.Kuhlenschmidt

	PR #3857: Loading screen widgets not scaled correctly (Contributed by projectgheist)


Change 3568900 by Alexis.Matte

	Fix the fbx re-import factory handler to say failed in case there was no geometry to import.
	#jira UE-47506

Change 3568902 by Alexis.Matte

	Reduce memory footprint when importing large FBX scene PR #3834
	#jira UE-47833

Change 3569061 by Arciel.Rekman

	Linux: remove unnecessary symbols for MSVC visualizers.

	- Reported by ASan as collision because they exist in each DSO.

Change 3569782 by Cody.Albert

	Updated ImportAssets Commandlet help text to properly reflect supported features.

Change 3569843 by Arciel.Rekman

	SDL: add logic to select headless EGL device.

	- SDL will try to guess which device is GPU using CUDA device id (can also be hinted explicitly).
	- Also fixes the problem of engine not starting on some drivers that don't support the necessary EGL extensions.

Change 3570234 by Max.Chen

	Sequencer: Import FBX settings. Added settings to toggle force front x axis and whether to create cameras that don't already exist in the level.

	#jira UE-46754

Change 3570578 by Arciel.Rekman

	Linux: make FAnsiMalloc compatible with malloc()/free().

	- Prerequisite for ASan. Also helps fringe cases when we have to use FAnsiMalloc.

Change 3571015 by Alexis.Matte

	Issue warning when we found zero normal, tangent or binormal
	#jira UE-46419

Change 3571376 by Jamie.Dale

	Force a unique package localization ID when loading packages for diffing

Change 3571412 by Jamie.Dale

	Removed unused setting

Change 3571487 by Alexis.Matte

	fix speed tree import cancel workflow
	#jira UE-47482

Change 3571614 by Jamie.Dale

	Games now use the native culture of any of the game targets as the fallback (rather than always using English)

	This replaces the previously removed redundant setting from CL# 3571412

Change 3572649 by Jamie.Dale

	SavePackageHelper now always honors KeepObjectFlags

Change 3572730 by Matt.Kuhlenschmidt

	Guard against crash in the details panel when there is a message in the queue and something scrolls into view when the list has been invalidated

	#jira UE-48037

Change 3572773 by Matt.Kuhlenschmidt

	Guard against high res screenshot crashing if the requested image size doesnt match the image data size

	#jira UE-47765

Change 3572813 by Michael.Trepka

	Workaround for a mysterious issue in Xcode 9 beta 3 and 4 which makes it generate -Wnullability-inferred-on-nested-type warnings/errors in MetalDebugCommandEncoder.h even though we tell Clang to ignore them in MacPlatformCompilerPreSetup.h

Change 3573043 by Arciel.Rekman

	FAnsiMalloc: fix compile issue (UE-48066).

	#jira UE-48066

Change 3573236 by Arciel.Rekman

	Linux: add UnrealLightmass to the installed build.

	- Was also requested by a licensee on UDN.

Change 3573705 by Arciel.Rekman

	SDL: update UE4 fork to the latest trunk (UETOOL-1242).

	- Revision 11184 form 2017-08-04: http://hg.libsdl.org/SDL/rev/04063928c4a8
	- Change by icculus (Ryan Gordon).
	- Rebuilt x86_64 library only for now.

Change 3573741 by Arciel.Rekman

	Fix crash when capturing a movie (UE-48093).

	#jira UE-48093

Change 3574389 by Max.Chen

	Sequencer: Array bounds check.

	#jira UE-48095

Change 3574399 by Max.Chen

	Sequencer: Fix crash in removing delegate

	#jira UE-47461

Change 3574415 by Max.Chen

	Sequencer: Put level visibility tracks in the SpawnObjects evaluation group to ensure levels are streamed before any possessable bindings are resolved

Change 3574416 by Max.Chen

	Prevent slow task feedback from performing slow operations (flushing rendering commands, checking if shaders are initialized) when there are no modal dialogs open

Change 3574726 by Matt.Kuhlenschmidt

	Focus the details view when actor selection changes if it is not focused

Change 3574922 by Michael.Trepka

	Copy of CL 3574653 by Richard.Wallis

	XCode Beta 4 Compile fixes. "Inferring '_Nonnull' for pointer type within array is deprecated "

Change 3576525 by Nick.Darnell

	Editor - Data table rows names sort correctly in the property customization.
	Blueprint - Fixing some crashes due to holding onto raw pointers instead of TWeakObjectPtrs.
	UMG - SetWidgetClass now reinstances the widget if you change it at runtime.
	Editor - Deleting actors that are still referenced now at least logs to the console what still references it.

Change 3576714 by Nick.Darnell

	Editor - Build fix.

Change 3576770 by Jamie.Dale

	Removed some dead code

	It seems to be left over from the first attempt at stable localization keys

Change 3578433 by Matt.Kuhlenschmidt

	Fix content browser settings being per project and having created a "Global" category for one setting

Change 3578556 by Max.Chen

	Editor: Fix toolbar shared ref which was keeping the viewport toolbar around when switching between default and cinematic viewports.

	#jira UE-48125

Change 3578561 by Matt.Kuhlenschmidt

	Fix USD importing not respecting DestinationPath for automated import

Change 3580124 by Matt.Kuhlenschmidt

	Fix bogus warning message when a property has an editcondition that is not marked edit aynwhere.  This has always been supported and is the correct way to make an editcondition

Change 3581936 by Jamie.Dale

	Restoring defaults for UContentBrowserSettings

Change 3582039 by Matt.Kuhlenschmidt

	High DPI mode changes
	- Editor viewport screen percentage is now adjusted automatically to account for DPI scaling.  By default the scene will be rendered at a lower resolution based on screen percentage calculated based on 100/DPIScale. Users can override this automatic calcuation in the performance options if desired.

	- DPI awareness is only set on windows in the editor now (still disabled by default)

	- Fixed hit proxy calculation not working properly with screen percentage

	- Developers can now register a delegate with SlateApplication to tell when a window's DPI changes

Change 3582049 by Matt.Kuhlenschmidt

	Fix color picker not properly converting FColor properties back to gamma space

Change 3582054 by Matt.Kuhlenschmidt

	Fix mac menus updating during unsafe times such as modal windows and slow tasks

	#jira UE-47874

Change 3582084 by Jamie.Dale

	Make sure to update the rendering resources for the active world if reloading its map build data

	This prevents a crash in the renderer due to it holding onto stale data

Change 3582257 by Matt.Kuhlenschmidt

	Fix widget component spawning widgets on cook

	#jira UE-48201

Change 3582655 by Matt.Kuhlenschmidt

	Fix DPI scale not being accounted for when entering immersive.

Change 3582706 by Matt.Kuhlenschmidt

	Fix automation tests

Change 3582728 by Matt.Kuhlenschmidt

	Turn on high dpi by default for windows editor

Change 3582732 by Matt.Kuhlenschmidt

	Turn on high DPI by default for mac editor

Change 3583112 by Max.Chen

	Sequencer: Add OnPlayReverse() event for when playback is in reverse

Change 3584130 by Matt.Kuhlenschmidt

	PR #3897: Git plugin: fix action icon in history window (Contributed by SRombauts)


Change 3584237 by Matt.Kuhlenschmidt

	Added the beginnings of a way to extend the usd importer with a custom resolver class that optionally handles prim identification and mesh and actor spawning.

	Added a test resolver that handles prims based on usd "kind" metadata.

Change 3584535 by Matt.Kuhlenschmidt

	Fix LOD identification in USD files

Change 3587703 by Matt.Kuhlenschmidt

	Fix tooltip

Change 3587901 by Matt.Kuhlenschmidt

	Fixed USD importing not finding and importing LODs properly

Change 3588380 by Matt.Kuhlenschmidt

	Fix ctrl+w not duplicating on mac

	#jira UE-46573

Change 3590435 by Jamie.Dale

	Added support for in-editor previews of localized game text

	This is configured by the "Preview Game Culture" setting, and will automatically be active when PIE is running (the preview language is also passed to any standalone games that are launched via the editor). This preview can also be used in the UMG editor to preview widgets in different languages.

	While a preview is running, all editable FText fields are locked-down (read-only) to prevent accidentally clobbering source data with translation data. You can also use this new lock-down feature to prevent any localization changes in your project (set "LockLocalization" to "True" under the "Internationalization" section of either your DefaultGame or DefaultEngine INI).

	In order to allow the game translations to be used in the editor, we now map the translation to any package localization ID variants when the LocRes data is loaded (or when looking up a specific piece of text). This is needed as the LocRes files only ever contain the "clean" versions of the IDs (without the package localization ID the editor uses), and also means that we no longer need to gather the "editor-only" variants of the text within assets.


Change 3592131 by Matt.Kuhlenschmidt

	Log for newly converted actors being pending kill

	#jira UE-47464

Change 3592200 by Matt.Kuhlenschmidt

	Made the class viewer menu function properly on mac.  Since it as a nomad tab it wasnt properly inserting itself into the top level menu on mac nor should it since it could be docked anywhere.  The filters menu is now consistent with other filters menus

Change 3592227 by Matt.Kuhlenschmidt

	Fix drag drop of actors being offset with high dpi monitors.

Change 3592719 by Bradut.Palas

	#jira UE-45632 - dual key bindings feature

	My approach was transforming the ActiveChord and DefaultChord into arrays and accessing them through an enum class called EMultipleKeyBindingIndex. A lot of connecting code, function prototypes, and data structures had to be changed to accomodate this. Most menus and tooltip texts are generated using the first valid active shortcut.

Change 3592793 by Bradut.Palas

	Fix compile warnings for InputBindingManager (there were actually hidden bugs among them)

Change 3593128 by Matt.Kuhlenschmidt

	Force low quality mode for background blurs by default on android

Change 3593579 by Michael.Dupuis

	#jira UE-47223 :
	If we have no world simply return null when GetLandscapeInfo is called
	Handle the cases in PostEditChange to handle null returned from GetLandscapeInfo

Change 3593580 by Michael.Dupuis

	Added missing shaders while generating thumbnails

Change 3593582 by Michael.Dupuis

	#jira UE-47492 : Make sure LayerInfo is valid before accessing data

Change 3593584 by Michael.Dupuis

	#jira UE-47253: Do not recreate the scene info in simulation mode

Change 3593585 by Michael.Dupuis

	#jira UE-48484: no longer mark the package dirty while generating the GrassMap if they were not existing

Change 3593586 by Michael.Dupuis

	#jira UE-48483 : hide the Rendering property group so user can't by mistake change the actor visibility

Change 3593593 by Michael.Dupuis

	#jira UE-48327: Added guard to prevent crash when using CVarFoliageDiscardDataOnLoad and having invalid foliage in your map

Change 3593597 by Michael.Dupuis

	#jira UE-48309: Do not build the tree if the static mesh is not even loaded yet
	#jira UE-48340: Properly support the Random stream and partial buffer update
	#jira UE-48228: Instance from blueprint are now visible in standalone game
	#jira UE-45854: Crash probably linked to post load called on not loaded static mesh
	#jira UE-48035: Properly init the per instance render data when creating a new component

	Only update instance in non archetype or CDO.

Change 3594060 by Matt.Kuhlenschmidt

	Fix high DPI mode being set for non-editor.  Also prevent possible crashes due to dll handle for high DPI method being freed before called

Change 3594355 by Matt.Kuhlenschmidt

	Change API help link to point to a website since offline CHM based docs are no longer used

	#jira UE-48230

Change 3595358 by Matt.Kuhlenschmidt

	Fixed bad initial window position and sizes for editor windows
	By default SWindow.ClientSize will assume unscaled window size and will scale it based on DPI as needed.  AdjustInitialSizeAndPositionForDPIScale argument can be used to disable this if needed
	Fixed a dock tabs and the main frame not taking into account dpi scale when saving their layout.  Now we always save window size at 1.0 scale and auto scale it based on DPI of the monitor it opens on.

	#jira UE-48446

Change 3595590 by Matt.Kuhlenschmidt

	Fix missing includes

Change 3595792 by Matt.Kuhlenschmidt

	Fix style warnings

Change 3596418 by Bradut.Palas

	fixing initial issue with dual keybinds (removed ensure macro to speedup first use of alternate key)

Change 3598679 by Max.Chen

	PR #3872: Fix small typo in ImagePlate Plugin (Contributed by TheCodez)

	#jira UE-48141


Change 3598720 by Max.Chen

	Cine Camera: Add toggle to disable constraining the roll when look at tracking is enabled. This allows the user to animate the roll while tracking an object.

	#jira UE-48316

Change 3600236 by Alexis.Matte

	Create a LOD Custom Mode in the meshes editor UI. This allow user to compare details values between LODs
	#jira UE-46822

Change 3600260 by Alexis.Matte

	Make sure temporary rename do not create redirector
	#jira UE-48364

Change 3600671 by Lauren.Ridge

	PR #3913: Fixed 3D preview issue in the material editor (Contributed by YuchenMei)


	#jira UE-48539
	#jira UE-48180
	#jira UE-48182

Change 3600812 by Jamie.Dale

	We now defer the registration of IME contexts until an editable text first gains focus

	Certain IMEs can have very high per-context costs, so this avoids that cost until we know that we definitely need to use the context

	#jira UE-48100

Change 3601839 by Matt.Kuhlenschmidt

	Fix USD import crash with "facevarying" normals

Change 3602434 by Jamie.Dale

	Removing dead code

	These flags were never being tested or used in any meaningul way

Change 3602611 by Jamie.Dale

	Ensure PackageToReload is non-null

	#jira UE-46655

Change 3602648 by Jamie.Dale

	Fixed custom columns with the same name as fixed columns causing infinite duplications in the content browser

	#jira UE-47392

Change 3602651 by Lauren.Ridge

	Fix for parameter tooltips not being found

	#jira UE-47417

Change 3604172 by Bradut.Palas

	#jira UE-48449
	#jira UE-48380
	#jira UE-48381
	#jira UE-48423

	I moved the IsFilenameValidForSaving()  function from FEditorFileUtils to FFileHelper so that it is accessible from CollectionManager.cpp in order to validate collection names as file names and no longer trigger any of the bugs.

Change 3604210 by Bradut.Palas

	#jira UE-48718

	Regression issue appeared from fixing a crash when using console command "open"
	Reworked by only refusing to open local URLs in case of client mode and multiprocess being active simultaneously.

Change 3604258 by Jamie.Dale

	IME contexts can now flag themselves as dead to avoid latent IME callbacks trying to access a deleted widget

	#jira UE-46815
	#jira UE-47295

Change 3604312 by Matt.Kuhlenschmidt

	PR #3931: Fixing a few obvious copy & paste errors. (Contributed by DaveC79)


Change 3604352 by Matt.Kuhlenschmidt

	Fix crash accessing potentially invalid parent layout from a detail category

	#jira UE-48729


Change 3604402 by Lauren.Ridge

	Epic Friday - array drag and drop

Change 3605228 by Cody.Albert

	TSets and TMaps should now properly rehash if a key is modified in the details panel.

Change 3605275 by Alexis.Matte

	Merge actor do not keep the material slot name

	#jira UE-43246

Change 3605715 by Max.Chen

	Sequencer: Fix cinematic mode getting activated on BeginPlay() instead of OnStartedPlaying().

	#jira UE-48770

Change 3606411 by Max.Chen

	Sequencer: Fix a few player state issues. When paused, calling stop now tears down properly (spawnables are removed, etc). When a level sequence  is deleted, tears down properly as well.

	#jira UE-42008

Change 3606440 by Max.Chen

	Sequencer: Update spawanble name when the spawnable actor name is changed.

	#jira UE-47815

Change 3606899 by Lauren.Ridge

	Disabling enum-based arrays from reordering

Change 3606958 by Lauren.Ridge

	Visual polish on array handles

Change 3607733 by Max.Chen

	Sequencer: Check null in camera cut

Change 3607849 by Max.Chen

	Sequencer: Clip transport controls.

	#jira UE-48812

Change 3608181 by Max.Chen

	#jira UE-48813 Correctly set GPlayInEditorID when initializing the PIE gameinstance, which does the initial tick. This fixes autoplay sequences
	Copy from Dev-Framework

Change 3608361 by christopher.biancard

	QAGame: Submitting test content for Array Element Reorder testing

Change 3608512 by Alexis.Matte

	Add fbx exporter option dialog, support export all and cancel all functionality when doing bulk export.
	#jira UE-48058

Change 3608629 by Max.Chen

	Camera Rig: Fix crane and rail not being packaged properly.

	#jira UE-48829

Change 3609217 by Matt.Kuhlenschmidt

	Added a lock around access to slate active timers to protect it against race conditions when accessed on the slate movie thread and the game thread

Change 3609722 by Alexis.Matte

	Make sure a warning is log when we cannot export an animation sequence.
	#jira UE-48390

Change 3609774 by Alexis.Matte

	Fix the merge actor build LOD scale again, a previous merge erase the fix
	#jira UE-48156

Change 3609891 by christopher.biancard

	QAGame: Minor additions for test coverage on Array Element Reorder

Change 3610171 by Lauren.Ridge

	Fixes for reordering metadata, creating actual swap function out of three element functions

	#jira UE-48823

Change 3610407 by Lauren.Ridge

	Fixing highlighting and behavior to place dragged row in the spot you release (not below)

Change 3610472 by Lauren.Ridge

	Moving final location logic

Change 3610797 by Lauren.Ridge

	Disabling dragging handles during PIE

Change 3611089 by Lauren.Ridge

	Disabling handles when overall tree is disabled

Change 3612479 by Lauren.Ridge

	Fix for asset contex menu warning

	#jira UE-46667

Change 3612791 by Michael.Dupuis

	#jira UE-48914 : Add the possibility to specify if we need CPU access to the instance buffer depending on the usage.
	Grass should always have CPU access.

Change 3612802 by Michael.Dupuis

	missing file from checkin 3612791

Change 3612805 by Max.Chen

	Sequencer: Fix crash with null GEditor

	Copy from Release-4.17

	#jira UE-48443

Change 3612806 by Max.Chen

	Sequencer: Fix crash when capturing a movie with options enabling separate process and close editor.

	Copy from Release-4.17

	#jira UE-48487

Change 3612807 by Max.Chen

	Sequencer: Fix crash upgrading the time range of a null track.

	Copy from Release-4.17

	#jira UE-48490

Change 3612808 by Max.Chen

	Sequencer: Fixed dragging skeletal animations causing them to revert back to t-pose

	Copy from Release-4.17

	#jira UE-48367

Change 3612849 by Arciel.Rekman

	Fix tesselation in packaged Linux projects (UE-24301).

	- Change by Cengiz.Terzibas.

	#jira UE-24301

Change 3613022 by Nick.Darnell

	Editor - Fixing a crash on load with a null CoordIndex json node.

Change 3613030 by Matt.Kuhlenschmidt

	PR #3932: UE-48693: if instead of while statement (Contributed by projectgheist)

	#jira UE-48747

Change 3613047 by Matt.Kuhlenschmidt

	PR #3933: Git plugin: add "branch source" in history window (Contributed by SRombauts)


Change 3613050 by Matt.Kuhlenschmidt

	PR #3942: Sort Data Table Structures Alphabetically (Contributed by Nick-Pearson)


Change 3613062 by Matt.Kuhlenschmidt

	PR #3939: Fix a typo in RecordQualityLevelsAnalytics(). (Contributed by samhocevar)


Change 3613241 by Nick.Darnell

	Editor - Fixing the content browser's view settings to be project agnostic, and they will start saving again.

Change 3613329 by Lauren.Ridge

	Moving favorite levels to a standard submenu so they also work on Mac

Change 3613344 by Nick.Darnell

	Editor - Fixing the achorgrid show up as white in HDPI mode, seems because we were upsampling the image, the blend was between dark and a transparent white, so that caused everything to turn white in HDPI mode.

	#jira UE-48921

Change 3613380 by Matt.Kuhlenschmidt

	Fix FBX window being off the screen in high DPI

	#jira UE-48872

Change 3614598 by Matt.Kuhlenschmidt

	Fixed Sequencer Keyframes appearing out of place on High DPI Monitors

	#jira UE-48915

Change 3614625 by Matt.Kuhlenschmidt

	Fixed not being able to click on BSP correctly in high dpi

	#jira UE-48947

Change 3614672 by Matt.Kuhlenschmidt

	Fix combo box windows being larger than necessary on high dpi monitors

	#jira UE-48908

Change 3614699 by Matt.Kuhlenschmidt

	Fix typo

	#jira UE-48941

Change 3615011 by Matt.Kuhlenschmidt

	Fix color picker calculation appearing offscreen for high dpi

Change 3615013 by Michael.Dupuis

	#jira UE-48897: Properly rebuild the tree when reapplying instance to the component

Change 3615014 by Colin.Benoit

	Sequencer Recorder test content

Change 3615048 by Colin.Benoit

	Sequencer Recorder: more test content

Change 3615118 by Lauren.Ridge

	Updating realtime state of viewports to also change when settings toggled

	#jira UE-48884

Change 3615127 by Lauren.Ridge

	Remove delegate binding on viewport destruction

Change 3615180 by Bradut.Palas

	#jira UE-48167 profiler crash

	Don't duplicate the graph data when rebuilding because that completely voids the OneToOneMapping mechanism, resulting in the crash. Looking up objects in the mapping would always return null because the mapping contains the old addresses, before the rebuild.

	One option would have been to completely rebuild the mapping according to the duplicate graph, which would be dubious because the duplicate method isn't specifically designed so that the result would replace the source.

	But it looks like duplicating the data is not needed, it's safe to rebuild in-place, RebuildForFilter() doesn't do anything illegal with the objects. This is also the only purpose and the only reference of the function.

Change 3615232 by Lauren.Ridge

	Adding input handling to the material editor viewport client

	#jira UE-48909

Change 3615703 by Jamie.Dale

	Fixed crash when fixing up references after a package rename failed

	#jira UE-48856

Change 3615752 by Matt.Kuhlenschmidt

	More generic fix for color picker and other windows that use CalculatePopupWindowPostion not accounting for DPI scale

Change 3615907 by Jamie.Dale

	Fixed some crashes caused by CL# 3600812

Change 3616031 by Matt.Kuhlenschmidt

	Added guard against invalid blueprints (ones without a generated class) being trying to be opened in the property matrix and failing

	#jira UE-48986

Change 3616151 by Arciel.Rekman

	Fixing adding array elements in config.

	- "+Blah=Foo" will do Blah.AddUnique(Foo)
	- ".Blah=Foo" will do Blah.Add(Foo)
	- See JoshA re: why (also see: https://udn.unrealengine.com/questions/388157/incorrect-behavior-in-configcacheinicpp.html?childToView=389307)

Change 3616439 by Andrew.Porter

	QAGame: Updating level visibility content in sequencer smoke map

Change 3616441 by Matt.Kuhlenschmidt

	Fix more sequencer track offsetting with DPI scale

	#jira UE-48981

Change 3617263 by Max.Chen

	Sequencer: Fix crash in level visibility teardown. Null playback context.

	#jira UE-49012

Change 3617316 by Max.Chen

	Sequencer: Fixed a regression where the frame rate isn't getting initialized for a movie scene.

Change 3617648 by Matt.Kuhlenschmidt

	Adding some windows specific logging around setting or failing to set process dpi awareness

Change 3617665 by Matt.Kuhlenschmidt

	Guard against layers module not being loaded in keybinding automation test

Change 3617731 by Arciel.Rekman

	Fix crashes on AMD Mesa drivers (UE-48374).

	- Do not expose unnecessary symbols from libelf.a to avoid symbol collision with system library used by drivers.

Change 3617923 by Bradut.Palas

	#jira UE-47072

	Editor was crashing because deleted actor was not cleaned properly from asset editors. Changed  IAssetEditorInstance to offer a function for deleting an object from the editor.

Change 3618088 by Matt.Kuhlenschmidt

	Guard against crash with potentially invalid worlds in preview scenes

	#jira UE-48997

Change 3618373 by Matt.Kuhlenschmidt

	Force worldsettings to be hidden in editor so that it is not considered for selection

	#jira UE-48996

Change 3618464 by Max.Chen

	Sequencer: Fix regression where spawnables don't play because they're defined as temporary editor actors.

	#jira UE-48923

Change 3619789 by Matt.Kuhlenschmidt

	Fix DPI scale warnings in any kind of headless editor mode

Change 3619802 by Jamie.Dale

	Fixed deprecation warning in malloc profiler

Change 3619841 by Matt.Kuhlenschmidt

	Fix missing icons in the package project menu

	#jira UE-48674

Change 3619991 by Lauren.Ridge

	Fix typo in transaction message

	#jira UE-48993

Change 3620086 by Lauren.Ridge

	Moving realtime viewport logic to refresh instead of construct so it is always triggered upon opening a new material editor

	#jira UE-48884

Change 3620616 by Matt.Kuhlenschmidt

	Fix up file

Change 3621002 by Matt.Kuhlenschmidt

	Back out change to apply scaling rules in loading screens since blueprint based DPI scaling rule classes will not have been created yet

	#jira UE-49125

Change 3621049 by Arciel.Rekman

	Fix a build error.

	- Also make sure that we don't print confusing message when no messagebox can be shown
	  (this code changed during the merge).

Change 3621064 by Arciel.Rekman

	Deleted too much in the previous changelist.

Change 3621369 by Matt.Kuhlenschmidt

	Fix keybindings automation test failing due to multiple entries in the active choords array pointing to the same thing

	#jira UE-49131

[CL 3621569 by Matt Kuhlenschmidt in Main branch]
2017-08-31 21:51:42 -04:00
Ben Marsh
f461ea68e9 Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3548365)
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 3494741 by Steve.Robb

	Generated code size savings.

	#jira UE-43048

Change 3495484 by Steve.Robb

	Fix for generated indices of static arrays when saving configs.

Change 3497926 by Robert.Manuszewski

	Removed FPackageFileSummary's CompressedChunks array as it was no longer being used by anything.

Change 3498077 by Robert.Manuszewski

	Only use the recursion guard in async loading code when the event driven loader is enabled.

Change 3498112 by Ben.Marsh

	UBT: Respect the option to not create debug info in the Android toolchain. This option is already being respected by the compiler, but the linker adds debug info of its own.

Change 3500239 by Robert.Manuszewski

	Made sure the Super Class token stream is also locked when assembling Class token stream with async loading thread enabled. This to to prevent race conditions when loading BP classes.

Change 3500395 by Steve.Robb

	Extra codegen savings when not in hot reload.

Change 3501004 by Steve.Robb

	EObjectFlags now have constexpr operators.

Change 3502079 by Ben.Marsh

	UBT: Pad multi-line error messages so that they align under the prefix for the first line, and include the timestamp if necessary.

Change 3502527 by Steve.Robb

	Fix for zero-sized array compile error in generated code when all functions are editor-only.

Change 3502542 by Ben.Marsh

	UAT: Remove the custom source parameter from log functions, and add support for a customizable indent instead.

Change 3502868 by Steve.Robb

	Workaround for inefficient generated code with stateless lambdas on Clang.

Change 3503550 by Steve.Robb

	Another generated code lambda optimization.

Change 3503582 by Ben.Marsh

	BuildGraph: Add support for nullable parameter types.

Change 3504424 by Steve.Robb

	New AllOf, AnyOf and NoneOf algorithms.

Change 3504712 by Ben.Marsh

	UAT: Less spammy log and error output from UAT.

	* Callstacks for AutomationExceptions are suppressed by default but still included in the log (the path to the log is noted in console output with the message from the exception).
	* Add a mechanism for any exceptions to be caught and rethrown with additional lines of context (CommandUtils.AddContext()) that will be appended to the error output by UAT. Avoids decaying the exception type or masking the inner exception message while still adding additional information.
	* AggregateExceptions resulting from exceptions on child threads are automatically unwrapped (full details are still appended to the log)
	* Name of the calling function is not included in console output by default, but still included in the log.

Change 3504808 by Ben.Marsh

	UAT: Suppress P4 output when running a recursive instance of UAT.

Change 3505044 by Steve.Robb

	Code generation improved for TCppClassType code.

Change 3505485 by Ben.Marsh

	Fix deterministic cooking issue; always use a pseudo-random number stream when compiling a module.

Change 3505699 by Ben.Marsh

	Plugins: Store the bEnabledByDefault flag exactly as it was read from disk rather than collapsing it to an absolute value based on the default for the location it was read from. This allows loading/saving plugin descriptors without any knowledge of whether they are game or engine plugins.

Change 3506055 by Ben.Marsh

	UAT: Add a class to apply a log indent for the lifetime of an object (ScopedLogIndent), and use it to apply an indent to MegaXGE/ParallelExecutor output.

Change 3507745 by Robert.Manuszewski

	Moved FSimpleObjectReferenceCollectorArchive and FSimpleObjectReferenceCollectorArchive to be internal archives used only by FReferenceCollector so that they are constructed only once per GC task instead of potentially multiple times per GC (as was the case with UDataTables and BlueprintGeneratedClasses).

Change 3507911 by Ben.Marsh

	Plugins: Minor changes to plugin descriptors.

	* Add a distinct setting for an unspecified EnabledByDefault setting in plugin descriptors.
	* Add a function to IPlugin to determine the effective EnabledByDefault setting, based on where the plugin was loaded from.

Change 3508669 by Ben.Marsh

	EC: Parse multi-line messages from UBT and UAT.

Change 3508691 by Ben.Marsh

	Fix double-spacing of cook stats.

Change 3509245 by Steve.Robb

	UHT makefiles removed.
	Flag audit removed.

Change 3509275 by Steve.Robb

	Fix for mismatched stat categories in AudioMixer.

	#jira UE-46129

Change 3509289 by Robert.Manuszewski

	Custom Version Container will no longer be always constructed in FArchive constructor. This reduces the number of the Custom Version Container allocations considerably.

Change 3509294 by Robert.Manuszewski

	UDataTable::AddReferencedObjects will no longer try to iterate over the RowMap if there's no UObject references in it.

Change 3509312 by Steve.Robb

	GitHub# 3679: Add TArray constructor that takes a raw pointer and a count

	Check improved for Append() to allow nullptr in empty ranges, and added to new constructor too.

	#jira UE-46136

Change 3509396 by Steve.Robb

	GitHub# 3676: Fix TUnion operator<< compile error

	#jira UE-46099

Change 3509633 by Steve.Robb

	Fix for line numbers on multiline macros.

Change 3509938 by Gil.Gribb

	UE4 - Fix rare assert involving cancelled precache requests and non-pak-file loading.

Change 3510593 by Daniel.Lamb

	Fixed up unsoilicited files getting populated with files which aren't finished being created yet.

	#test None

Change 3510594 by Daniel.Lamb

	Fixed up temp files directory for patching.

	Thanks David Yerkess @ Milestone
	#review@Ben.Marsh

Change 3511628 by Ben.Marsh

	PR #3707: Fixed UBT stack size (Contributed by gildor2)


Change 3511808 by Ben.Marsh

	Optimize checks for whether the game project contains source code. Now stops as soon as the first file is found and ignores directories beginning with a '.' character (eg. .git)

	#jira UE-46540

Change 3512017 by Ben.Marsh

	Plugins: Deprecate the QueryStatusForAllPlugins() function; the same functionality is available via the IPlugin interface.

Change 3513935 by Steve.Robb

	Reverted array iteration in FPropertyNode::PropagatePropertyChange as this is now covered in TProperty::InitializeValueInternal() as of CL# 3293477.

Change 3514142 by Steve.Robb

	MemoryProfiler2 added to generated solution.

Change 3516463 by Ben.Marsh

	Plugins: Create a manifest for each PAK file containing all the plugin descriptors in one place. Eliminates need to recurse through directories and read separate multiple files in serial at startup, and allows reading all plugin descriptors with one read. The "Mods" directory is excluded from the manifest, since these are intended to be installed separately by the user.

Change 3517860 by Ben.Marsh

	PR #3727: FString Dereference Fixes (Contributed by jovisgCL)


Change 3517967 by Ben.Marsh

	Suppress additional system error dialogs when loading DLLs if -unnattended is on the command line.

Change 3518070 by Steve.Robb

	Disable Binned2 stats in shipping non-editor builds.

Change 3520079 by Steve.Robb

	Fixed bad codegen TAssetPtrs being passed into BlueprintImplementableEvent functions.

	#jira UE-24034

Change 3520080 by Robert.Manuszewski

	Made max package summary size to be configurable with ini setting

Change 3520083 by Steve.Robb

	Force a GC after hot reload to clean up reinstanced objects which may still tick.

	#jira UE-40421

Change 3520480 by Robert.Manuszewski

	Improved assert message when the initial package read request was too small.

Change 3520590 by Graeme.Thornton

	SignedArchiveReader optimizations
	 - Loads more stats
	 - Stop chunk cache worker from waking up continuously to poll for work. Only wake up when triggered by the archive reader
	 - Signed archive reader just yields when waiting for buffers to finish loading, rather than sleeping for some arbitrary amount of time
	 - Track the number of pending read requests in an atomic counter, to save having to lock the request queue to check for new entries

Change 3521023 by Graeme.Thornton

	Remove spin from signed archive reader. Main thread waits on an event triggered by the chunk worker to indicate that new chunks are ready for processing

Change 3521787 by Ben.Marsh

	PR #3736: Small static code analysis fixes (Contributed by jovisgCL)


Change 3521789 by Ben.Marsh

	PR #3735: Fix case sensitivity issue in FWindowsPlatformProcess::IsApplicationRunning. (Contributed by samhocevar)


Change 3524721 by Ben.Marsh

	Move Linux SDL initialization into FLinuxPlatformApplicationMisc. Attempting to move functionality related to interactive applications (graphics, input, etc...) into a separate place, so it can ultimately be moved out of Core.

Change 3524741 by Ben.Marsh

	Move PumpMessages() into FPlatformApplicationMisc.

Change 3525399 by Ben.Marsh

	UGS: Use the default Perforce server port when opening P4V if there is not one set in the environment.

Change 3525743 by Ben.Marsh

	UAT: Add a parameter to allow updating version files without updating Version.h, to allow faster link times on incremental builds.

Change 3525746 by Ben.Marsh

	EC: Include the clobber option on new workspaces, to allow overriding version files when syncing.

Change 3526453 by Ben.Marsh

	UGS: Do not generate project files when syncing precompiled binaries.

Change 3527045 by Ben.Marsh

	Fix hot reload generating import libraries without DLLs. Now that they are produced by separate actions by default, it was removing DLLs from the action graph due to the bSkipLinkingWhenNothingToCompile setting.

Change 3527420 by Ben.Marsh

	UGS: Add additional search paths for UGS config files, and fix a few cosmetic issues (inability to display ampersands in tools menu, showing changelist -1 when running a tool without syncing).

	Config files are now read from:

	Engine/Programs/UnrealGameSync/UnrealGameSync.ini
	Engine/Programs/UnrealGameSync/NotForLicensees/UnrealGameSync.ini

	If a project is selected:

	<ProjectDir>/Build/UnrealGameSync.ini
	<ProjectDir>/Build/NotForLicensees/UnrealGameSync.ini

	If the .uprojectdirs file is selected:

	Engine/Programs/UnrealGameSync/DefaultProject.ini
	Engine/Programs/UnrealGameSync/NotForLicensees/DefaultProject.ini

Change 3528063 by Ben.Marsh

	Fix non-thread safe construction of FPluginManager singleton. Length of time spent in the constructor resulted in multiple instances being constructed at startup, making the time to enumerate plugins on slow media significantly worse.

Change 3528415 by Ben.Marsh

	UAT: Remove \r characters from the end of multiline log messages.

Change 3528427 by Ben.Marsh

	EC: Fix spaces being converted to tabs at start of line in failure emails (by Gmail), and wrap following lines at the same indent.

Change 3528485 by Ben.Marsh

	EC: Remove zero-width word break characters from slashes in notification emails; can cause really hard to debug problems when copy pasted into other places.

Change 3528505 by Steve.Robb

	PR #3755: MallocProfiler - Remove subfolder from profiling save directory (Contributed by Josef-CL)


	#jira UE-46819

Change 3528772 by Robert.Manuszewski

	Enabling actor and blueprint clustering in ShooterGame

Change 3528786 by Robert.Manuszewski

	PR #3760: Fix typo (Contributed by jesseyeh)


Change 3528792 by Steve.Robb

	PR #3764: MallocProfiler - Refactoring Scopelock (Contributed by Josef-CL)


	#jira UE-46962

Change 3528941 by Robert.Manuszewski

	Fixed lazy object pointers not being updated for streaming sub-levels in PIE. Fixed lazy pointers returning object that is still being loaded which could lead to undefined behavior when client code started modifying the returned object.

	#jira UE-44996

Change 3530241 by Ben.Marsh

	UAT: Only pass -submit or -nosubmit to child instances of UAT if they were specified on the original command line. BuildCookRun uses this flag to determine whether to submit, rather than just whether to allow submitting, so we shouldn't pass an inferred value.

Change 3531377 by Ben.Marsh

	Plugins: Allow plugins to specify a list of supported target platforms, which is propagated to any .uproject file that enables it.

	This has several advantages over the per-module platform whitelist/blacklist:

	* Platform-specific .uplugin files can now be excluded when staging other platforms. Previously, it was only possible to determine which platforms a plugin supports by reading the plugin descriptor itself. Now that information is copied into the .uproject file, so the runtime knows which plugins to ignore.
	* References to dependent plugins from platform-specific plugins can now be eliminated.
	* Plugins containing content can now be unambiguously disabled on a per-platform basis (having no modules for a platform does not confer that a plugin doesn't support that platform; now it is possible to specify supported platforms explicitly).
	* The editor can load any plugins without having to whitelist supported editor host platforms.

	UE4 targets which support loading plugins for target platforms can set TargetRules.bIncludePluginsForTargetPlatforms (true for the editor by default, false for any other target types). This defines the LOAD_PLUGINS_FOR_TARGET_PLATFORMS macro at runtime, which allows the plugin system to filter which plugins to look for at runtime.

	Any .uproject file will be updated at startup to contain the list of supported platforms for each referenced plugin if necessary.

Change 3531502 by Jin.Zhang

	Add support for GPUCrash #rb

Change 3531664 by Ben.Marsh

	UBT: Change output format from C# JSON writer to match output by the engine.

Change 3531848 by Ben.Marsh

	UAT: Add script to resaving all project descriptors under a folder, embedding information for any supported platforms for the plugins they enable.

Change 3531869 by Ben.Marsh

	UAT: Add parameter to the ResaveProjectDescriptors command to update the engine association field.

Change 3532474 by Ben.Marsh

	UBT: Use the same mechanism as UAT for logging exceptions.

Change 3532734 by Graeme.Thornton

	Initial VSCode Support
	 - Tasks generated for building all game/engine/program targets
	 - Debugging support for targets on Win64

Change 3532789 by Steve.Robb

	FScriptSet::Add and TScriptMap::Add now replace the element, matching the behavior of TSet and TMap.
	Set_Add and Map_Add no longer have a return value.
	FScriptSet::Find and FScriptMap::Find functions are now FindIndex.
	FScriptSetHelper::FindElementFromHash is now FindElementIndexFromHash.

Change 3532845 by Steve.Robb

	Obsolete UHT settings deleted.

Change 3532875 by Graeme.Thornton

	VSCode
	 - Add debug targets for different target configurations
	 - Choose between VS debugger (windows) and GDB (mac/linux)

Change 3532906 by Graeme.Thornton

	VSCode
	 - Point all builds directly at UBT rather than the batch files
	 - Adjust mac build tasks to run through mono

Change 3532924 by Ben.Marsh

	UAT: Set the UAT working directory immediately on startup. This ensures that any command line arguments containing paths are resolved consistently to the branch root.

Change 3535234 by Graeme.Thornton

	VSCode - Pass intellisense system a list of paths to use for header resolution

Change 3535247 by Graeme.Thornton

	UBT - Add a ToString to ProjectFile.Source file to help with debugger watch presentation

Change 3535376 by Graeme.Thornton

	VSCode
	 - Added build jobs for C# projects
	 - Linked launch tasks to relevant build task

Change 3537083 by Ben.Marsh

	EC: Change P4 swarm links to start at the changelist for a build.

Change 3537368 by Graeme.Thornton

	Fix for crash in FSignedArchiveReader when multithreading is disabled

Change 3537550 by Graeme.Thornton

	Fixed a crash in the taskgraph when running single threaded

Change 3537922 by Steve.Robb

	Missing PF_ATC_RGBA_I added to FOREACH_ENUM_EPIXELFORMAT.

Change 3539691 by Graeme.Thornton

	VSCode - Various updates to get PC and Mac C++ projects building and debugging.
	 - Some other changes to C# setup to allow compilation. Debugging doesn't work.

Change 3539775 by Ben.Marsh

	Plugins: Various fixes to settings for enabling plugins.

	* Fix crash on startup when trying to disable a missing plugin (was keeping pointers to elements in the project's plugin reference array, which may be modified if a plugin is disabled).
	* Revert fix to set PluginDescriptor.bRequiresBuildPlatform = true by default. This was the originally intended behavior, but it was accidentally defaulted to false during serialization unless specified in the .uplugin file. Many plugins may rely on this behavior (they may not declare asset classes otherwise, for example, which could result in loss of data), so change the default value to false instead. Also fixes popups to disable platform-specific plugins if platform SDKs are not installed.
	* Fix plugins which are referenced but do not exist not showing the appropriate prompt to disable them.

Change 3540788 by Ben.Marsh

	UBT: Add support for declaring custom pre-build steps and post-build steps from .target.cs files. Similarly to the custom build steps configurable from .uproject and .uplugin files, these specify commands which will be executed by the host platform's shell before or after a build. The following variables are expanded within the list of commands before execution: $(EngineDir), $(ProjectDir), $(TargetName), $(TargetPlatform), $(TargetConfiguration), $(TargetType), $(ProjectFile).

	Example usage:

	public class UnrealPakTarget : TargetRules
	{
		public UnrealPakTarget(TargetInfo Target) : base(Target)
		{
			Type = TargetType.Program;
			LinkType = TargetLinkType.Monolithic;
			LaunchModuleName = "UnrealPak";

			if(HostPlatform == UnrealTargetPlatform.Win64)
			{
				PreBuildSteps.Add("echo Before building:");
				PreBuildSteps.Add("echo This is $(TargetName) $(TargetConfiguration) $(TargetPlatform)");

				PostBuildSteps.Add("echo After building!");
				PostBuildSteps.Add("echo This is $(TargetName) $(TargetConfiguration) $(TargetPlatform)");
			}
		}
	}

Change 3541664 by Graeme.Thornton

	VSCode - Add problemMatcher tag to cpp build targets

Change 3541732 by Graeme.Thornton

	VSCode - Change UBT command line switch to "-vscode" for simplicity

Change 3541967 by Graeme.Thornton

	VSCode - Fixes for Mac/Linux build steps

Change 3541968 by Ben.Marsh

	CRP: Pass through the EnabledPlugins element in crash context XML files.

	#jira UE-46912

Change 3542519 by Ben.Marsh

	UBT: Add chain of references to error messages when configuring plugins.

Change 3542523 by Ben.Marsh

	UBT: Add more useful error message when attempt to parse a JSON object fails.

Change 3542658 by Ben.Marsh

	UBT: Include a chain of references when reporting errors instantiating modules.

Change 3543432 by Ben.Marsh

	Plugins: Fix plugins which are enabled by default not being enabled unless a project file is set.

Change 3543436 by Ben.Marsh

	UBT: Prevent recursing through the same module more than once when building out the referenced modules. Produces much shorter reference chains when something fails.

Change 3543536 by Ben.Marsh

	UBT: Downgrade message about redundant plugin references to a warning.

Change 3543871 by Gil.Gribb

	UE4 - Fixed a critical crash bug with non-EDL loading from pak files.

Change 3543924 by Robert.Manuszewski

	Fixed a crash on UnrealFrontend startup caused by re-assembling GC token stream for one of the classes.
	+Small optimization to token stream generation code.

Change 3544469 by Jin.Zhang

	Crashes page displays the list of plugins from the crash context #rb

Change 3544608 by Steve.Robb

	Fix for nativized generated code.

	#jira UE-47452

Change 3544612 by Ben.Marsh

	Add callback into FMacPlatformMisc::PumpMessages() from FMacPlatformApplicationMisc::PumpMessages().

	#jira UE-47449

Change 3545954 by Gil.Gribb

	Fixed a critical crash bug relating to a race condition in async package summary reading.

Change 3545968 by Ben.Marsh

	UAT: Fix incorrect username in BuildGraph <Submit> task. Should use the username from the Perforce environment, not assume the logged in user name is the same.

	#jira UE-47419

Change 3545976 by Ben.Marsh

	EC: Delete the AutoSDK client if the directory doesn't exist. When we format build machines, we need to force everything to be resynced from scratch.

Change 3546185 by Ben.Marsh

	Hacky fix for deployment on IOS/TVOS. Since deployment directly references the NonUFS manifest files that are written out, merge all the SystemNonUFS files back into the NonUFS list after the regular NonUFS files have been remapped.

Change 3547084 by Gil.Gribb

	Fixed a critical race condition in the new async loader. This was only reproducible on IOS, but may affect other platforms.

Change 3547968 by Gil.Gribb

	Fixed critical race which potentially could cause a crash in the pak precacher.

Change 3504722 by Ben.Marsh

	BuildGraph: Improved tracing for error messages. All errors are now propagated as exceptions, and are tagged with additional context information about the task currently being run.

	For example, throwing new AutomationException("Unable to write foo.txt") from SetVersionTask.Execute is now displayed in the log as:

	ERROR: Unable to write to foo.txt
	         while executing <SetVersion Change="0" CompatibleChange="0" Branch="Unknown" Promoted="True" />
	         at Engine\Build\InstalledEngineBuild.xml(91)
	       (see D:\P4 UE4\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)

Change 3512255 by Ben.Marsh

	Rename FPaths functions with a "Game" prefix (GameDir(), GameContentDir(), etc...) to have a "Project" prefix (ProjectDir(), ProjectContentDir(), etc...) for clarity with non-game uses of UE4. Old functions still exist but are deprecated.

Change 3512332 by Ben.Marsh

	Rename "Game" functions in FApp to be "Project" functions (FApp::GetGameName() -> FApp::GetProjectName(), etc...) for clarity with non-game uses of UE4.

Change 3512393 by Ben.Marsh

	Rename FPaths::GameLogDir() to FPaths::ProjectLogDir().

Change 3513452 by Ben.Marsh

	Plugins: Rename EPluginLoadedFrom::GameProject to EPluginLoadedFrom::Project.

Change 3516262 by Ben.Marsh

	Add support for a "Mods" folder distinct from the project's "Plugins" folder, instead of using the bIsMod flag on the plugin descriptor.

	* Mods are enumerated similarly to regular plugins, but IPlugin::GetType() will return EPluginType::Mod.
	* The DLCName parameter to BuildCookRun and the cooker now correctly finds any plugin in the Plugins or Mods directory (or any subfolders).

Change 3517565 by Ben.Marsh

	Remove fixed engine version numbers from OSS plugins.

Change 3518005 by Ben.Marsh

	UAT: Remove the bUFSFile parameter from DeployLowerCaseFilenames(). Every platform returns false if the argument is false.

Change 3518054 by Ben.Marsh

	UAT: Use an enum to direct whether all directories should be searched when finding files to stage, rather than a bool. Having so many optional boolean arguments makes code unreadable and refactoring hard.

Change 3524496 by Ben.Marsh

	Start moving GUI application code into a separate static platform class, hopefully ultimately removing it from Core.

Change 3524641 by Ben.Marsh

	Move more functionality related to windowed/graphical applications into FPlatformApplicationMisc.

Change 3528723 by Steve.Robb

	MoveTemp now static asserts if passed a const reference or rvalue.
	MoveTempIfPossible still follows the old (std::move) rule, which is useful for templates where the nature of the argument is not obvious.
	Fixes to violations of these new rules.

Change 3528876 by Ben.Marsh

	Move FPlatformMisc::ClipboardCopy and FPlatformMisc::ClipboardPaste to FPlatformApplicationMisc::ClipboardCopy and FPlatformApplicationMisc::ClipboardPaste.

Change 3529073 by Ben.Marsh

	Add script to package ShooterGame for any platforms.

Change 3531493 by Ben.Marsh

	Update platform-specific plugins to declare the target platforms they support.

Change 3531611 by Ben.Marsh

	UAT: Add a ResavePluginDescriptors command, which resaves all plugin descriptors under a given folder, removing any outdated fields and rewrites them in a consistent style. Many plugins in the wild contain redundant or no-longer used fields due to using our plugins as templates.

Change 3531868 by Ben.Marsh

	Resaving project descriptors to remove invalid fields.

Change 3531983 by Ben.Marsh

	UAT: Simplify logic for staging code, and add validation against shipping files in restricted folders.

	* Added a new SystemNonUFS type for staged files, which excludes files from being remapped or renamed by the platform layer.
	* Replaced the DeplyomentContext.StageFiles() function with simpler overloads for particular use cases (options for remapping are replaced with the SystemNonUFS file type)
	* Config entries in the [Staging] category in DefaultGame.ini file allow remapping one directory to another, so restricted content can be made public in packaged builds (Example syntax: +RemapDirectory=(From="Foo/NoRedist", To="Foo"))
	* An error is output if any restricted folder names other than the output platform are in the staged output.

Change 3540315 by Ben.Marsh

	UAT: Moving StreamCopyDescription command into a NotForLicensees folder, since it's only meant to be used by engine developers.

Change 3542410 by Ben.Marsh

	UBT: Deprecate accessing properties through BuildConfiguration.* or UEBuildConfiguration.* from .target.cs files. These have been aliases to the current TargetRules instance for several releases already.

Change 3543018 by Ben.Marsh

	UBT: Deprecate the BuildConfiguration and UEBuildConfiguration aliases from the ModuleRules class. These have been implemented as an alias ot the ReadOnlyTargetRules instance passed to the constructor for several engine versions.

Change 3544371 by Steve.Robb

	Fixes to TSet_Add and TMap_Add BPs.

	#jira UE-47441

[CL 3548391 by Ben Marsh in Main branch]
2017-07-21 12:42:36 -04:00
Matt Kuhlenschmidt
70d3bd4b72 Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3497164)
#lockdown Nick.Penwarden
#rb none

=====================================
 MAJOR FEATURES + CHANGES
=====================================

Change 3433074 by Matt.Kuhlenschmidt

	Fix crash when clicking on certian tutorial blueprints.

	#jira UE-44593

Change 3433075 by Matt.Kuhlenschmidt

	Remove hittest grid log spam.  The underlying problem causing this has been fixed

Change 3433077 by Matt.Kuhlenschmidt

	Fix lighting becoming unbuilt when mesh painting

	#jira UE-44837

Change 3433081 by Matt.Kuhlenschmidt

	PR #3553: Crashfix for static array properties (Contributed by Pierdek)


Change 3433104 by Alexis.Matte

	Make sure re-import skeletal mesh follow the import morph option
	#jira UE-42846

Change 3434825 by Matt.Kuhlenschmidt

	Fix crash when GC happens while the vr editor radial menu is open.

Change 3434831 by Matt.Kuhlenschmidt

	Added missing file

Change 3434868 by Shaun.Kime

	If you have a reroute node between a Material Function texture input and its usage, the parent material will fail to resolve the reroute node.

	#jira ue-44670

Change 3434998 by Alexis.Matte

	Meshes editors material/section panel are now fully transactional
	- Staticmesh editor: section material slot, section cast shadow, section collision, material slot instance, material slot name
	- Skeletal mesh editor: material slot instance, material slot name
	Also fix some transaction description

	#jira UE-44462

Change 3435195 by Jamie.Dale

	Fixed incorrect handling of some LTR scripts that require shaping

	These scripts need to go through HarfBuzz, and this also fixes a case where HarfBuzz wasn't applying font scale correctly.

	#jira UE-44767

Change 3435199 by Jamie.Dale

	Fixed some crashes/artifacts with bidirectional text

	It was possible for a line to compute an incorrect range, which could cause crashes or other highlighting issues. The highlighting logic has also been updated as the old code didn't handle all bidirectional cases correctly.

Change 3435200 by Jamie.Dale

	Fixed a grapheme cluster metrics issue in the font editor viewport

	The viewport also now respects the default shaping method CVar.

Change 3435771 by Alexis.Matte

	Fix degenerated bounds calculation for skeletalmesh when the skeleton is remove from a re-import
	(PhysicAsset API change, adding 1 function)
	#jira UE-44609

Change 3436856 by Jamie.Dale

	Added some missing Unicode block ranges

Change 3436914 by Jamie.Dale

	Adding some missing combining character ranges to the text shaper

Change 3436923 by Alexis.Matte

	PR #3463: Get bounds for all triangles, not just the first one. WedgeIndex was . (Contributed by DaveC79)
	#jira UE-43764


Change 3436948 by Jamie.Dale

	Updated the Portal to use the predefined Unicode block ranges

Change 3436961 by Max.Chen

	Sequencer: Show camera shake/anim track menus even if there aren't any assets.

Change 3437244 by Max.Chen

	Sequencer: Clear locked cameras when releasing Sequencer.

	#jira UE-44967

Change 3437515 by Arciel.Rekman

	UBT: improvements for LocalExecutor.

	- Larger number of parallel jobs on 16GB+ machines.
	- Use WaitForExit() instead of polling.
	- Tested on Linux and Mac.

Change 3437629 by Matt.Kuhlenschmidt

	Improve asset import data display in static and skeletal meshes

Change 3438047 by Arciel.Rekman

	Fix overlapping ranges being passed to memcpy().

Change 3438822 by Yannick.Lange

	ViewportInteraction: Move gizmo handle files to make them private.

Change 3438906 by Matt.Kuhlenschmidt

	PR #3556: Git Plugin: fix new option "init Git LFS" that make assets read-only (master/UE4.17) (Contributed by SRombauts)


Change 3438907 by Matt.Kuhlenschmidt

	PR #3565: add -quality option to buildlighing commandlet (Contributed by kayama-shift)


Change 3438908 by Matt.Kuhlenschmidt

	PR #3558: UE-44862: Always update SColorPicker color on OK button (Contributed by projectgheist)


Change 3439393 by Matt.Kuhlenschmidt

	Force highest LOD for highres screenshots

Change 3439819 by Matt.Kuhlenschmidt

	Turned FAssetData into a struct for some upcoming script exposure of FAssetData

Change 3439949 by Arciel.Rekman

	Fixed selection logic for the UE4_LINUX_USE_LIBCXX environment variable.

	- Allows disabling libc++ by setting the variable to 0.
	- Pull request #3576 contributed by jared-improbable.


Change 3441078 by Jamie.Dale

	The culture/language/locale console commands are now available in all build configs

Change 3441109 by Jamie.Dale

	Text containing surrogate pairs now runs through HarfBuzz when shaping in Auto mode

	This is needed as the kerning-only shaping code assumes that everything is within the BMP

Change 3441275 by Matt.Kuhlenschmidt

	Disable spinning on location and scale.  These dont work because we have no notion of infinite spinning

Change 3442748 by Yannick.Lange

	ViewportInteraction: Remove unused console variables.

Change 3442775 by James.Golding

	Add support for editing MaterialFunctions to MaterialEditingLibrary
	Pull Material recompile/update code into UMaterialEditingLibrary::RecompileMaterial
	Pull MaterialFunction update code into UMaterialEditingLibrary::UpdateMaterialFunction util
	Move RebuildMaterialInstanceEditors to UMaterialEditingLibrary
	Added test content for Material/MaterialFunction editing
	Add needed BlueprintReadWrite to expressions (constants, function input/output)
	Expose UMaterialExpressionMaterialFunctionCall::SetMaterialFunction to BP, rename old func (which takes old function) to SetMaterialFunctionEx, also expose GetInputNameWithType

Change 3442779 by James.Golding

	Fix header order

Change 3442817 by Yannick.Lange

	ViewportInteraction: Add can execute checks for level editor commands.

Change 3443038 by Michael.Dupuis

	#jira UE-43377: When you select a foliage actor we will move all instance contained in it to the new level as we can't move a foliage actor
	Only permit moving foliage instance if there is some selected

Change 3443855 by Michael.Dupuis

	#jira UE-44885:  Unregister from PerModuleDataObjects when the object is destroyed

Change 3446096 by Max.Chen

	Sequencer: Add OnFinished() event when a level sequence completes playback

	#jira UE-45173

Change 3446097 by Max.Chen

	Sequencer: Evaluate one last time before the sequence is torn down and reset

	#jira UE-45174

Change 3446242 by Jamie.Dale

	Fixed caret not appearing in empty text layouts

	Caret selections have no range, and therefore have no width

Change 3446361 by Matt.Kuhlenschmidt

	Fix WITH_EDITOR only functions causing generated code compile errors when the all functions on the class are WITH_EDITOR

Change 3446457 by Alexis.Matte

	Polish the speed tree import dialog

	#jira UE-44963

Change 3446946 by Michael.Trepka

	Modified FWindowsWindow::GetRestoredDimensions to return correct window position for normal windows for which GetWindowPlacement returns position in workspace coordinates

	#jira UE-37934

Change 3447543 by Arciel.Rekman

	Reduce VMAs on Linux.

	- Trades off increased address space (VIRT in terms of ps/htop) for smaller number of distinct mappings (VMAs, virtual memory areas).
	  This decreases possibility to run into vm.max_map_count limit on Linux.
	- Tested on Linux and Mac.

Change 3448468 by Arciel.Rekman

	Fix race condition during creation of GMalloc.

	- On Mac GMalloc can be created on two different thread that are racing with each other - app's main thread and a system thread.

Change 3449012 by Max.Chen

	Sequencer: Add time to transform, color and vector key structs so that key times are editable from the key editors.

	#jira UE-45089

Change 3449018 by Max.Chen

	Sequencer: Add OnCameraCut event that fires when there is a camera cut.

	#jira UE-45137

Change 3449195 by Max.Chen

	Sequencer: Add setting for limit scrubbing to playback range.

	#jira UE-43502

Change 3449198 by Max.Chen

	Sequencer: Reorder hierarchical bias so that group priority takes precedence.

Change 3449217 by Max.Chen

	Sequencer: Add setting to activate realtime viewports when in sequencer.

Change 3449219 by Max.Chen

	Sequencer: Focus on search boxes when opened.

Change 3449238 by Max.Chen

	Sequencer: Assign actor should replace the actor itself after it has updated all the components. Also, replace components be fullname rather than by class.

Change 3449239 by Max.Chen

	Sequencer: Fix offsets when moving multiple sections. Dragging should be clamped to the bounds that any of the selected sections hits against the unselected sections.

Change 3449241 by Max.Chen

	Sequencer: Restore section selection after full tree rebuild.

Change 3449279 by Max.Chen

	Sequencer: Set movie scene capture frames only when not using custom frames. This allows the user entered frame numbers to persist in config, rather than overwriting them when doing a "Render Shot"

Change 3449280 by Max.Chen

	Sequencer: Spawn in the persistent level. Otherwise, they get spawned into whatever sublevel is current.

	#jira UE-44552

Change 3449294 by Max.Chen

	Sequencer: Null check for sequencer ed mode crash.

Change 3449297 by Max.Chen

	Sequencer: Fix delay in sliding values. Mark changed when sliding values. Mark refresh immediately when committing values since OnValueChanged will be called and needs to have the correct value that was refreshed immediately.

	#jira UE-42866

Change 3449542 by Max.Chen

	Sequencer: Fix scrubber hit testing so that the time scrubber is really favored over the playback ranges.

	#jira UE-44569

Change 3451507 by Matt.Kuhlenschmidt

	Fix extra slate uv coords not functioning on ES2

Change 3451510 by Matt.Kuhlenschmidt

	PR #3595: Fixed wrong colour for level status (Contributed by ronve)


Change 3451529 by Alexis.Matte

	fbx scene importer: Make sure we set INVALID_UNIQUE_ID to node that has no attribute.
	#jira UE-34410

Change 3451611 by Yannick.Lange

	ViewportInteraction: Dragging gizmo without second pass for snapped calculations.

Change 3452134 by Jamie.Dale

	Fixed constant font cache flushing if a widget had no font set

Change 3452239 by Jamie.Dale

	Fixed constant font measure flushing if a widget had no font set

Change 3452243 by Jamie.Dale

	Removed deprecated code for creating fonts from bulk data

Change 3452277 by Jamie.Dale

	The concept of "stale" composite fonts is now editor-only

Change 3452358 by Alexis.Matte

	Fbx scene importer: Do not remove existing attribute reference from the blueprint if the reimport of the associate mesh attribute is not tick.
	#jira UE-45232

Change 3452678 by Max.Chen

	Sequencer: Fix crash on export if there's no shot data.

Change 3453057 by Matt.Kuhlenschmidt

	Exposed asset exporting to script

Change 3453782 by Andrew.Rodham

	Sequencer: Fixed deterministic cooking issues with movie scene data
	  - Movie scene signatures are now initialized in PostInitProperties
	  - A warning is now presented when attempting to cook old data that was never serialized with a signature.
	  - Removed redundant legacy data upgrade logic that could dirty level sequences on load.

	#jira UE-44912

Change 3453788 by Yannick.Lange

	ViewportInteraction: Custom scene proxy for gizmo handles.

Change 3453938 by Max.Chen

	Sequencer: Hotkeys (shift , and shift .)  to step to next/previous shot

	#jira UE-45119

Change 3454058 by Michael.Dupuis

	Fixed StaticAnalysis

Change 3454077 by Max.Chen

	Sequencer: Fix not saving the pre-animated track value when creating a track/key.

	On pre object change, broadcast property change so that a track or key can be created. That track/key needs to be evaluated immediately so that the pre-animated state can be saved properly. This is done now with RefreshAllImmediately and is only called when a track has been created. Also, added a return value for OnKeyProperty, so that it's known what changed in particular (ie. track created, track modified, etc)

	Also, fixed transform keying so that if a transform track already exists for the object or the scene component, the existing track is used.

	#jira UE-45130

Change 3454108 by Nick.Darnell

	UMG - Fixing the WIC to properly record cursor delta so that scrollbars work.

Change 3454109 by Jamie.Dale

	Cache the text layout source info in non-shipping builds so you can inspect it in the debugger

Change 3454202 by Matt.Kuhlenschmidt

	Fix bogus error message about the number of usable texture coordinates on ES2 when compiling a UI domain material

Change 3454390 by Yannick.Lange

	Fix creating a plugin in a C++ project opens a second instance of Visual Studio. Use SourceCodeAccessor to open solution when necessary.
	#jira UE-45035

Change 3454564 by Matt.Kuhlenschmidt

	#rnx Fix deprecation warnings

Change 3455471 by Yannick.Lange

	ViewportInteraction: Fix entering and exiting VR Mode disables gizmo in desktop editor viewport.
	#jira UE-44965

Change 3456183 by Max.Chen

	Sequencer: Auto key, auto track refactor.

	Auto key - create a key when the property changes and there's an existing track.
	Auto track - create a track when the property changes. This is only exposed in the level sequence editor.
	All - create a key and a track when the property changes. This is only exposed in VR Editor.
	None - do nothing.

	#jira UE-43469

Change 3456349 by Andrew.Rodham

	Sequencer: Only perform legacy signature checks on instances, and only where signatures match the CDO

Change 3456678 by Alexis.Matte

	Allow to add null level instance override material via the advance material array. But still limit the override material number to the mesh material number.
	#jira UE-45306

Change 3456945 by Max.Chen

	UMG: Add restore state to 2d transform section.

	#jira UE-45372

Change 3457196 by Arciel.Rekman

	Linux: serialize allocations from the memory pool.

Change 3458434 by Max.Chen

	Sequencer: Remove obsolete set tick prerequites functions.

Change 3458671 by James.Golding

	Added MIC editing support to MaterialEditingLibrary
	Fix static analysis warning

Change 3458888 by Matt.Kuhlenschmidt

	PR #3615: More detailed log messages for debugging warnings/errors (Contributed by projectgheist)


Change 3458893 by Matt.Kuhlenschmidt

	PR #3583: UE-44960: Delta value wasn't being used (Contributed by projectgheist)


Change 3458895 by Matt.Kuhlenschmidt

	Fix typo

Change 3458902 by Matt.Kuhlenschmidt

	PR #3607: Improved InputKeySelector functionality (Contributed by projectgheist)


Change 3458917 by Matt.Kuhlenschmidt

	Fix crash with invalid object properties in the class picker

	#jira UE-39000

Change 3458939 by Matt.Kuhlenschmidt

	Fix compile error

Change 3458984 by andrew.porter

	QAGame: Initial check in of sequencer smoke test map

Change 3459510 by Matt.Kuhlenschmidt

	Fixed ensure when deleting a map that contains build data which also happens to be the currently loaded map.

	#jira UE-45052

Change 3460985 by Max.Chen

	Sequencer: Snap play time to keys now allows scrubbing between keys and snaps to key times within a certain screenspace tolerance.

	#jira UE-45090

Change 3461698 by Arciel.Rekman

	Avoid using ARRAY_COUNT in Vulkan.

	- Sometimes those arrays can have no extensions whatsoever, and it is illegal to declare a 0 element C array.

Change 3462053 by Max.Chen

	Sequencer: Show sequencer spawnables in the world outliner and add the icon overlay for spawnables.

	#jira UE-43470

Change 3462139 by Max.Chen

	Property Editor: Add objects to FPropertyAndParent

Change 3462202 by Arciel.Rekman

	Fix FSocket::Recv() blocking with Peek when there's no data.

Change 3462253 by Nick.Darnell

	Slate - New Clipping System

	Clipping is now a stateful choice made during composition of the slate hierarchy.  Previously every widget got to respect or modify the clipping rect on an as needed basis.  The problem was that clipping was only allowed in the layout space of the widget, and it wasn't possible to properly clip elements with render transforms.  The new system permits all kinds of transforms on any widget, and they will all be clipped correctly.  It tries to use Scissor Rects as they are much cheaper, but will switch over to stenciling if need be to represent a complicated masking structure with several rotated clipping rects all needed to be combined together.

	Here are the new clipping states a widget can have, almost all widgets are set to No.  Only change it from No if your widget actually needs to clip, generally speaking most widgets don't need to clip.

	/**
	 * This widget does not clip children, it and all children inherit the clipping area of the last widget that clipped.
	 */
	Inherit,
	/**
	 * This widget clips content the bounds of this widget.  It intersects those bounds with any previous clipping area.
	 */
	ClipToBounds,
	/**
	 * This widget clips to its bounds.  It does NOT intersect with any existing clipping geometry, it pushes a new clipping
	 * state.  Effectively allowing it to render outside the bounds of hierarchy that does clip.
	 *
	 * NOTE: This will NOT allow you ignore the clipping zone that is set to [Yes - Always].
	 */
	ClipToBoundsWithoutIntersecting UMETA(DisplayName = "Yes - Without Intersecting (Advanced)"),
	/**
	* This widget clips to its bounds.  It intersects those bounds with any previous clipping area.
	*
	* NOTE: This clipping area can NOT be ignored, it will always clip children.  Useful for hard barriers
	* in the UI where you never want animations or other effects to break this region.
	*/
	ClipToBoundsAlways UMETA(DisplayName = "Yes - Always (Advanced)"),
	/**
	 * This widget clips to its bounds when it's Desired Size is larger than the allocated geometry
	 * the widget is given.  If that occurs, it behaves like [Yes].
	 *
	 * NOTE: This mode was primarily added for Text, which is often placed into containers that eventually
	 * are resized to not be able to support the length of the text.  So rather than needing to tag every
	 * container that could contain text with [Yes], which would result in almost no batching, this mode
	 * was added to dynamically adjust the clipping if needed.  The reason not every panel is set to OnDemand,
	 * is because not every panel returns a Desired Size that matches what it plans to render at.
	 */
	OnDemand UMETA(DisplayName = "On Demand (Advanced)")

	- Large API Change -

	All FSlateDrawElement::Make_____ calls have been deprecated that involved passing in a clipping rect.  You no longer should are passed a Clipping rect via OnPaint.  You are still passed a rect, but this rect represents a Culling Rect, which is valuable if you need to just out right not paint things the user can't possibly see.

	If you were previously trying to determine if you should cull widgets, by doing something like this,

	if ( FSlateRect::DoRectanglesIntersect(MyClippingRect, CurWidget.Geometry.GetRenderBoundingRect()) )

	That's no longer a good option since there are ways for widgets to ignore the culling bounds.  You should convert anything like above to the one below,

	if (!SWidget::IsWidgetCulled(MyCullingRect, CurWidget))

	To assist in debugging efforts, there are several new debugging console flags in Slate,

	Slate.ShowClipping 1 - Controls whether we should render a clipping zone outline.  Yellow = Axis Scissor Rect Clipping (cheap).  Red = Stencil Clipping (expensive).

	Slate.DebugCulling 1 - Disables pushing clipping or stencil rects to the GPU, but continues to intersect culling rects, so that you can tell if a widget is properly culling children it can't possibly draw.

	Slate.ShowTextDebugging 1 - Show debugging painting for text rendering.

	I've added a new Experimental Feathering Option, it adds AA geometry around the outside of Box and Image brushes.

	Slate.Feathering 1

	If you're using RenderDoc or something similar, you can now enable render events for slate, so that you can better grok how we're batching and changing states for each UI render pass.

	Slate.EnableDrawEvents 1

	#jira UE-4659

	#rn

Change 3462714 by Nick.Darnell

	Fixing a few more compiler issues with the clipping changes.

Change 3462726 by Max.Chen

	Switch OnEditStructChildContentsChanged to use FObjectWriter instead of FMemoryWriter which supports serializeing UObjects. This fixes a crash when adding actor array elements to a user defined event struct.

	#jira UE-45431

Change 3462801 by Nick.Darnell

	Adding a UMG dependency to EngineTestBuild.

Change 3462914 by Max.Chen

	Sequencer: Fix regression where spawnables aren't getting saved. Caused by 3407138

	#jira UE-30007
	#jira UE-39003

Change 3462946 by Nick.Darnell

	Automation - Tweaking the UI automation tests converting them over to use the new UI Screenshot automation test.
	Automation - Adding a blur widget test.

Change 3462987 by Matt.Kuhlenschmidt

	Back out changelist 3458893

Change 3464774 by Matt.Kuhlenschmidt

	PR #3629: Bugfix: Missing small icon in Project Launcher profile editor (Contributed by aarmbruster)


Change 3464785 by Nick.Darnell

	Fixing some clipping stuff in the editor.

Change 3464830 by andrew.porter

	QAGame: Second pass on sequencer smoke test map

Change 3464902 by Nick.Darnell

	Loading - Adding some additional checks to the the loading code to ensure we're on the main thread.  Additionally adding a fix from UDN that prevents deadlocks in the rare case a user hits Alt+Tab in a fullscreen game while in a hard loading screen.

Change 3464988 by Max.Chen

	Sequencer: Add attenuation settings for attached audio components.

	#jira UE-33080

Change 3465024 by Nick.Darnell

	MoviePlayer - Impoving the playback mode displaynames.

Change 3465074 by Arciel.Rekman

	Fix shadowing issues of GraphicsPSOInit.

Change 3465097 by Matt.Kuhlenschmidt

	Some refactoring of the details panel

	Exposed new methods of adding a struct on scope to a details panel and have it work properly with customizations. The scruct on scope has a "fake" ustructproperty that allows the details panel to show the whole struct not just an individual property.

	Refactored the API for adding rows to details panels to make it more consistent\
	AddChildCustomBuilder->AddCustomBuilder
	AddChildGroup->AddGroup
	AddChildContent->AddCustomRow
	AddChildPropert->AddProperty
	AddChildStructure->AddExternalStructureProperty
	AddStructure->AddAllExternalStructureProperties
	AddExternalProperty->AddExternalObjectProperty or AddExternalStructureProperty

Change 3465186 by Max.Chen

	Sequencer: Save the BindingID in the pre animated token producer so that it can be destroyed properly. This fixes a bug where the default state of a spawnable isn't saved.

	#jira UE-43780

Change 3465315 by Matt.Kuhlenschmidt

	Fix Fortnite and Orion details panel customization warnings

Change 3465424 by Nick.Darnell

	Automation - Moving the step for setting the link to the automation reports to be set before we start the engine.

Change 3465488 by Nick.Darnell

	Automation - Forcing textures to load before taking screenshot, so that the scene gets another opportunity to render before we render with Slate.  This should fix the Blur UI Test.

Change 3466277 by Arciel.Rekman

	Linux: fix window drift when dragging (UE-40380).

	- Change by Cengiz Terzibas.

Change 3466370 by Nick.Darnell

	UMG - Fixing the colors for the resize handle in the designer.

Change 3466372 by Nick.Darnell

	UMG - Fixing the ruler ticks sometimes not being drawn.

Change 3466374 by Nick.Darnell

	UMG - Fixing the designer showing multiple options for sequencer.

Change 3466377 by Nick.Darnell

	UMG - Cleaning up some clipping bits.

Change 3467025 by Andrew.Rodham

	Re-saving assets that contain legacy (<4.15) movie scene data to remove deterministic cook warning.
	If conflicts arise during merging of these assets, please ignore the changes made in dev-editor, and accept game-side changes.

	(CIS step 62283298, jobId 7773146)
	(CIS step 62283297, jobId 7773146)

Change 3467099 by Max.Chen

	Fix GetObjectPropertyClass ensure logic. This was returning UObject::StaticClass when valid.

Change 3467172 by Max.Chen

	Sequencer: Evaluation optimizations. Also, fixes subsequences not getting expired, leaving dangling spawnables.

	#jira UE-43690

Change 3467192 by Matt.Kuhlenschmidt

	Fix transactions getting stuck in the color grading controls.  This prevents PIE from working properly and causes shutdown crashes

	#jira UE-45527

Change 3467251 by Yannick.Lange

	ViewportInteraction: Fix scale and rotation snap while dragging with two lasers.

	#jira UE-43489

Change 3467331 by Matt.Kuhlenschmidt

	Fix D3D shader compiler hard coding shader path and not giving proper warnings when it cannot find the shaders

Change 3467335 by Matt.Kuhlenschmidt

	Remove DarkStyle attribute from SNumericEntryBox and allow a spin box style to be passed to it.

Change 3467558 by Max.Chen

	Scene Outliner: Generic support to add default columns to a scene outliner.

Change 3467565 by Jamie.Dale

	Removing old screenshot data for test

Change 3467589 by Nick.Darnell

	Editor - Random cleanup.

Change 3467596 by Nick.Darnell

	Progress Bar - Exposing Border Padding to UMG.

Change 3467600 by Nick.Darnell

	Slate - Adjusting the rendering of the splitter, previously it could be off by a pixel or two, which becomes more apparent now with the clipping changes.

Change 3467601 by Max.Chen

	Property Editor: Fix static analysis warning

Change 3467662 by Nick.Darnell

	Automation - Fixing a bug with the screenshot comparison tool not replacing (removing) the old screenshot data.

Change 3467674 by Max.Chen

	Property Editor: Fix static analysis warning

Change 3467737 by Max.Chen

	Sequencer: Added OnMovieSceneBindingsChanged delegate

Change 3468053 by tim.gautier

	QAGame: Updating Editor Smoke Map

	- Updated landscapes into Stations for testing

	- Added Foliage Sublevel

Change 3468194 by Arciel.Rekman

	Linux: fix problems communicating with various STL-using libs.

	- Stop hiding global new/delete signatures.
	- Disable CEF3 since this change uncovers the problem with libcef.so not built to use bundled libpng.

Change 3468678 by Max.Chen

	Sequencer: Set "Sequencer Actor" tag before setting the actor label so that the outliner refreshes after the actor has the tag.

Change 3469314 by tim.gautier

	QAGame: Added Painted Foliage / Spline section to EditorSmoke map

Change 3469377 by Nick.Darnell

	Slate - Fixing some warnings in a couple of sample games due to the clipping changes.

	#rnx

Change 3469767 by Max.Chen

	Sequencer: Outliner column and sequencer binding data

	#jira UE-43470

Change 3469974 by Arciel.Rekman

	Fix code projects not working in Linux installed build.

Change 3470082 by Nick.Darnell

	Slate - The GetRenderer() call on SlateApplication no longer returns a SharedPtr, rather than convert it to a thread safe ptr, going to just make accessing it a raw ptr return, so it can be safely referenced on the game thread while being used on the slate loading thread.

Change 3470174 by Nick.Darnell

	Slate - Get the last widget in a widget path utility.

Change 3470176 by Nick.Darnell

	UMG - User Widgets now have an easy way to know if they're part of or have been removed from the focused widget path, which is handy for doing effects.

Change 3470261 by Nick.Darnell

	Slate - The GetRenderer() call on SlateApplication no longer returns a SharedPtr, rather than convert it to a thread safe ptr, going to just make accessing it a raw ptr return, so it can be safely referenced on the game thread while being used on the slate loading thread.

Change 3470286 by Max.Chen

	Sequencer: Scene Component's HiddenInGame now goes through the VisibilityTrack and the visibility template.

Change 3470366 by Nick.Darnell

	Slate - We now version focus per user, that way during focus events, we can safely abort focus events and state transitions if someone interrrupts the active focus event with something new.

Change 3470649 by Matt.Kuhlenschmidt

	Fix deprecation warnings

Change 3470695 by Matt.Kuhlenschmidt

	Fixed typo

	#jira UE-45580

Change 3470721 by Matt.Kuhlenschmidt

	Fix static analysis

Change 3471254 by Michael.Dupuis

	#jira UE-42952: Keep occlusion result per view

Change 3471287 by Nick.Darnell

	UMG - Render Focus Rule now defaults to never.

Change 3471291 by Nick.Darnell

	Slate - Fixing FSlateRenderer* change fallout.

Change 3471299 by Nick.Darnell

	Slate - Fixing FSlateRenderer* change.

Change 3471323 by Nick.Darnell

	Automation - Fixing automation and Static Analysis warning.

Change 3471413 by andrew.porter

	QAGame: Added test content for anim blending and material parameteres to sequencer smoke level

Change 3471649 by Max.Chen

	Sequencer: Modify the track when adding animation

	#jira UE-45618

Change 3471659 by Matt.Kuhlenschmidt

	Added a way to check if a movie is playing from the engine.
	Prevented viewport redraws for canvas loading screens if a slate based loading movie is playing

Change 3471734 by Matt.Kuhlenschmidt

	Added basic material hookup to USD.  Similar to FBX it will find materials based on rules specified by the user in the import settings

Change 3472176 by Nick.Darnell

	UMG - Improving the display of the +Track menu in sequencer for UMG.  Renamed it from +Add, which is repetitve to +Track.  Additionally, the dropdown now shows the currently selected widgets, as well as a submenu containing all the 'important' widgets, so we no longer populate that list with a ton of irrelevant widgets that are just Buton_1 - N, which is pointless in showing people, they'll never guess which is the right button.

Change 3472740 by Max.Chen

	Sequencer: Add GetThisFrameMetaData accessor

Change 3472748 by Max.Chen

	Sequencer: Added OnBeginScrubbing and OnEndScrubbing event delegates

Change 3472753 by Max.Chen

	Sequencer: Add EMovieSceneDataChangeType parameter to OnMovieSceneDataChanged delegate

Change 3472870 by Nick.Darnell

	Clipping - Fixing the deprecated tip for scissor rect boxes to be correct.  Removing it's usage from UT.

Change 3473340 by Max.Chen

	Scene Outliner: Add ability to register additional filters

Change 3473348 by Max.Chen

	Details View: Make ForceRefresh virtual. Added accessors to delegates (ie. GetIsPropertyReadOnlyDelegate)

Change 3473441 by Max.Chen

	Sequencer: Autokey Refactor Part 2.

	Autokey is now a single toggleable state.

	Allow Edits Mode has 3 states:
	  Allow All Edits - Allow any edits to occur, some of which may produce tracks/keys or modify default properties.
	  Allow Sequencer Edits Only - All edits will produce either a track or a key.
	  Allow Level Edits Only - Properties in the details panel will be disabled if they have a track.

	#jira UE-45229

Change 3473670 by Nick.Darnell

	Modules - The module manager no longer returns sharedptrs to IModuleInterfaces, this was the source of rare hard to track down crashes due to a shared ptr reference leak when GetModule was called on non-main threads.  We now store a TUniquePtr internally, and only lease out raw pointers.

	#rn

Change 3473711 by Nick.Darnell

	Disabling the ensure in the module manager.

Change 3473747 by Max.Chen

	Sequencer: Fix tooltip

Change 3474091 by Jamie.Dale

	Added a warning when cooking a UFontFace that is outered to a UFont asset

	These cause issues with iterative COTF, and should be split off into their own assets (as the UI has been asking people to do for several versions)

Change 3475052 by Yannick.Lange

	VR Editor: Fix Crash when quitting the editor with VR Mode enabled. VR Editor was being enabled when saving the map on closing the editor.

	#jira UE-45415

Change 3475054 by Yannick.Lange

	Fix crash when adding a camera to the world in VR Mode the second time. The slate application did not reset when stop dragging in VR Mode, so the second time when starting to drag a camera out of the UI it would already by in a dragging state.

	#jira UE-45574

Change 3475263 by Nick.Darnell

	Fixing some additional cases of IModuleInteface SharedPtr usage.

Change 3475268 by Max.Chen

	Sequencer: Set jumped state when looping playback. This fixes an issue where audio doesn't stop and restart when looped.

	#jira UE-45654

Change 3475269 by Max.Chen

	Scene Outliner: Additional filters should only apply to actor browsing mode

Change 3475407 by Nick.Darnell

	Fixing some clipping / module shared ptr changes in the launcher code.

Change 3475542 by Max.Chen

	Sequencer: Update thumbnail and section highlighting to use new clipping behavior.

	#jira UE-45692
	#jira UE-45689

Change 3475743 by Michael.Dupuis

	#jira UE-45183: When updating phyx region take into account simple collision mip

Change 3475949 by Arciel.Rekman

	Remove PhysX deoptimization (no longer needed).

	- OR-24947 has been closed three months ago.

Change 3476022 by Michael.Dupuis

	#jira UE-45560: Make sure we're not going out of range

Change 3476063 by Michael.Dupuis

	#jira UE-45562: Do not try to unregister from static mesh if no static mesh is specified for the component

Change 3476168 by Michael.Trepka

	Added handling of directory symlinks to FApplePlatformFile::IterateDirectory

	#jira UE-43704

Change 3476172 by Nick.Darnell

	Fixing a Imoduleinterface change.

Change 3476183 by Jamie.Dale

	Exposing GoTo/ScrollTo to single-line editable text for API parity with multi-line editable text

Change 3476385 by Arciel.Rekman

	Linux: handle symlinks when iterating directories.

Change 3476522 by Michael.Trepka

	Solved a problem with Mac FMallocTBB::Malloc() returning nullptr for 0 bytes allocations, which is inconsistent with other platforms. On Mac we always scalable_aligned_malloc, which behaves differently than scalable_malloc, so for 0 bytes requests we allocate sizeof(size_t), which is exactly what scalable_malloc does internally in such case.

Change 3476806 by Nick.Darnell

	UMG - Focus the designer after dropping a widget onto the surface.

Change 3476809 by Nick.Darnell

	Curve Editor - Enable Clipping on the curve editor.

Change 3477475 by Nick.Darnell

	Fixing a module interface shared ptr usage in UT.

Change 3477553 by Yannick.Lange

	VR Editor: Removed AssetEditorPanelID and replaced it with TabManagerPanelID. A panel for AssetEditorPanelID was never created making it impossible to open an asset editor.

Change 3477734 by Yannick.Lange

	VR Editor: Fix Warning: SetRelativeScale3D : Invalid Scale entered (X=inf Y=inf Z=inf). Resetting to 1.f. warning when adding CineCameraActor to World from Modes Panel. Make sure to not divide by zero when there is no boundary scale.

	#jira UE-44933

Change 3477761 by Jamie.Dale

	Some improvements to avoid loading the native .locres files twice when we don't need to

Change 3477780 by Nick.Darnell

	PR #3250: Return correct VirtualUserIndex (Contributed by projectgheist)


Change 3477786 by Nick.Darnell

	PR #3650: Changed TestNull to accept const pointers. (Contributed by e-agaubatz)


Change 3477795 by Nick.Darnell

	PR #2844: UE-36936: Don't stretch container for Plugin Image (Contributed by projectgheist)


Change 3478092 by Nick.Darnell

	PR #2341: Optional Middle Mouse Button panning in Graph Editor (Contributed by flipswitchingmonkey)
	Engine Edit - Made some small changes to the enum type, and some naming.


Change 3478450 by Nick.Darnell

	Fixing some uninitialized variable errors.

Change 3479827 by Andrew.Rodham

	Sequencer: Addressed serialization issues with some struct types

Change 3479874 by Jamie.Dale

	Fixed "NativeGameLanguage" not being used correctly during localization initialization

Change 3480012 by Andrew.Rodham

	Sequencer: Fixed loading tagged properties as native for track identifiers

	#jira UE-45823

Change 3480337 by Alexis.Matte

	Fix morph target crash missing some valid index check

Change 3480804 by Alexis.Matte

	Fix crash with ColorGradingMode custom detail

	#jira UE-45638

Change 3480892 by Andrew.Rodham

	Sequencer: Ensure that movie scene sequences know about the editor object version

	#jira UE-45842

Change 3481073 by Nick.Darnell

	Fix the shader compiler error from main in Slate.

Change 3481303 by Nick.Darnell

	UMG - Fixing a bug with the drag handle not working correctly in HDPI mode.

Change 3481308 by Nick.Darnell

	Slate - Tweaking the IsWidgetCulled logic to consider both the layout and rendering bounds.  If we do this, we get a much more desireable outcome for people that want to animate widgets and such and plan to have temporary animations to move the widget offscreen, but want the layout bounds to anchor that widget in the visible frame so that it animates even when normally it would be culled b/c the render transform and therefore the renderbounds moved it completely outside the culling rect.

Change 3481629 by Max.Chen

	Sequencer: Add Level Sequence Actor as an output for CreateLevelSequencePlayer()

	#jira UE-45785

Change 3481899 by Yannick.Lange

	VR Editor: Added debug modetoggle command with an event that is broadcasted whenever this happens. Currently this is used to show all the floating UIs of the UI system to debug without HMD using VREd.ForceVRMode.

Change 3481984 by Michael.Dupuis

	#jira UE-45845: always validate if we have a static mesh before trying to access it as user can decide to not assign one and use the tools

Change 3482047 by Nick.Darnell

	Slate - Adding some comments to IsWidgetCulled.

Change 3482110 by Nick.Darnell

	Slate - IsWidgetCulled is no longer static and is now called IsChildWidgetCulled.

Change 3482136 by Jamie.Dale

	The CamelCase break iterator now treats digits around character tokens as part of the identifier

Change 3482138 by Michael.Dupuis

	#jira UE-45854: Properly unregister during undo operation

Change 3482150 by Michael.Dupuis

	#jira UE-45845 : Add missing nullcheck for GetStaticMesh

Change 3482153 by Nick.Darnell

	Slate - IsWidgetCulled is no longer static and is now called IsChildWidgetCulled.

Change 3482180 by Nick.Darnell

	UMG - Widget Components do not need to define a widget class to be rendererd, they can have native slate widgets only.  This was a regression from main.

Change 3482273 by Nick.Darnell

	UMG - Tweaking some more things about the widget component box outline.

Change 3482308 by Alexis.Matte

	Fixing morph target smooth group support. Do not call FillSkeletalMeshImportData more then once on FbxNode since this fonction is doing some conversion and change the FbxNode, applying those conversion twice do not return the same faces smooth group.
	#jira UE-45696

Change 3482327 by Nick.Darnell

	UMG - More tweaks to the WidgetComponent so both shows the box outline, but works in game and VR editor.

Change 3482705 by Andrew.Rodham

	Resaving assets that contain legacy data to suppress CIS warnings.
	  - If conflicts arise in these assets, please take game-side changes and ignore these.

Change 3484245 by Max.Chen

	Sequencer: Evaluate on end scrub. This fixes a bug where audio doesn't evaluate in a stopped position at the end of scrubbing, causing it to not stop all sounds. This fixes a bug introduced from 3365018 where evaluate on end scrub was removed.

	#jira UE-45905

Change 3484263 by Max.Chen

	Sequencer: Fix crash on forcing refresh of details panel on release.

	#jira UE-45911

Change 3484431 by Andrew.Rodham

	Resaving assets that contain legacy data to suppress CIS warnings.
	  - If conflicts arise in these assets, please take game-side changes and ignore these.

Change 3484474 by Alexis.Matte

	Fix the morph target animation curve name matching.

	#jira UE-20294

Change 3484475 by Alexis.Matte

	When removing a LOD, make sure we remove all morph target data associate to the LOD.

Change 3484489 by Nick.Darnell

	PR #3668: UE-45908: Cache debug line locations when performing a LineTraceMulti (Contributed by projectgheist)

	#jira UE-45908

Change 3484692 by Nick.Darnell

	Slate - Reverting a change from a game stream.  All Arranged Children don't need to allocated 42 to begin with.  Do need to initialize WidgetPaths better.

Change 3484703 by Nick.Darnell

	Player Input - Making the input event loop for players obey EKeys::NUM_TOUCH_KEYS, rather than being set to Touch10, as the maximum touch input amount, to make supporting greater than 10 touches easier.  Also making the seeding of keys use EKeys::NUM_TOUCH_KEYS.

	#jira UE-43213

Change 3484918 by Jamie.Dale

	Fixed font measuring regression with RTL text

	RTL applies the character count to the next glyph, so it shouldn't process the end of the loop (this was how the older code used to work).

Change 3485718 by Nick.Darnell

	Editor - Removing Super Search & User Feedback button.

Change 3485719 by Nick.Darnell

	Portal - Removing SuperSearch.

Change 3485751 by Matt.Kuhlenschmidt

	Fix crash accessing platformer game menu if the menu is open during a console based load

	#jira UE-45950

Change 3486047 by Arciel.Rekman

	Linux: add OpenEXR implementation (UE-40270).

	#jira UE-40270

Change 3486467 by Max.Chen

	Sequencer: Reset max tick rate when destroyed.

	#jira UE-45956

Change 3486477 by Max.Chen

	Sequencer: Refresh outliner when column is removed.

	#jira UE-45891

Change 3486667 by Andrew.Rodham

	Added missing include

Change 3486724 by Andrew.Rodham

	Sequencer: Fixed curves with no default value, and no keys being evaluated and applied to properties
	  - Also fixed an edge case where a zero (but non-animated) channel could be applied to a final transform

Change 3486730 by Alexis.Matte

	In the Auto-Reimport options, hide the mout point only for the default /Game/ folder
	#UE-45684

Change 3486749 by Alexis.Matte

	Make sure the parent window of the monitor directory browse folder is set properly
	#jira UE-45682

Change 3486805 by Matt.Kuhlenschmidt

	Additional safety against invalid objects being accessed by slate

Change 3486848 by Alexis.Matte

	Make sure Monitor folder feature support root mount point map folder
	During auto import, give priority to asset import factory over the scene import factory
	#jira UE-45691

Change 3486879 by Andrew.Rodham

	Removing obsolete QA assets

Change 3486950 by Nick.Darnell

	PR #2281: Scrollbar missing features and SScrollbar fixes (Contributed by SNikon)
	Review - made some adjustments from the original.


Change 3486954 by Nick.Darnell

	Slate - Moving the STableViewBase over to the FOverscroll class, rather than it's own clone.

Change 3486967 by Nick.Darnell

	Slate - Fixing some HDPI calculations for fitting new windows on screen, it was using the unscaled size of the widgets for fitting, when it needed to scale them up.

Change 3486970 by Andrew.Rodham

	Sequencer: Delay mouse capture until drag for sequencer time slider
	  - Fixes context menus not opening as a result of mouse capture being taken on mouse down

	#jira UE-45937

Change 3486984 by Andrew.Rodham

	Sequencer: Improved blending type iconography

Change 3486996 by Nick.Darnell

	UMG - Adding a way for games to opt-out of the slow widget path, to completely prevent them from being cooked.
	UMG - The movie data is no longer cloned for each new instance that inhabits.  It now keeps a reference to the now publically accessible movie scene data on the class instead.

Change 3487070 by Andrew.Rodham

	Sequencer: Added graphics for key areas that represent empty space

Change 3487195 by Andrew.Rodham

	Sequencer: Changed evaluation groups to always flush implicitly
	  - Due to the latent nature of blended token types, it's no longer safe to rely solely on execution token order between tracks
	  - This fixes an issue where events set in the PostEvaluation stage were executed before blended token actuation

Change 3487322 by Nick.Darnell

	PR #2457: Add .gitdeps.xml-files for plugins support (Contributed by bozaro)


Change 3487363 by Nick.Darnell

	PR #2481: Fix for packing of a project with users plugins (Contributed by yatagarasu25)


Change 3487439 by Nick.Darnell

	PR #2642: Changed private to protected in SVirtualJoystick.h (Contributed by Skylonxe)


Change 3487500 by Arciel.Rekman

	Removed LinuxNativeDialogs.

	- No longer used; has been superceded by SlateDialogs since UE 4.8 (2 years ago).

Change 3487630 by Lauren.Ridge

	Don't create Landscape Info Maps for Editor Preview Worlds or thumbnail worlds

	#jira UE-44885

Change 3487864 by Matt.Kuhlenschmidt

	Exposed the asset registry to blueprints and script.  Works in editor scripts and runtime scripts

	AssetRegistry is now a UInterface object.
	Blueprint users can access various asset registry methods using the asset registry interface (via GetAssetRegistry) and various static helpers in  the AssetRegistryHelpers object
	C++ users should still continue to use IAssetRegistry.

Change 3487879 by Matt.Kuhlenschmidt

	Renamed asset tools uobject helper to UAssetToolsHelpers

Change 3487926 by Lauren.Ridge

	Fixing reset to default not showing up for custom widgets

	#jira UE-44164

Change 3488184 by Matt.Kuhlenschmidt

	PR #3656: Make References/Referencers List copyable (Contributed by user37337)


	#jira UE-45763

Change 3488240 by Matt.Kuhlenschmidt

	Fix compiler issue

Change 3488350 by Lauren.Ridge

	Landscape info map transactional state is based on its world's transactional state

	#jira UE-44885
	#jira UE-46019

Change 3488412 by Matt.Kuhlenschmidt

	Fix reset to default showing up in two different places for some customizations

Change 3488413 by Matt.Kuhlenschmidt

	Fix slate font customization

Change 3488414 by Matt.Kuhlenschmidt

	Fix slate font customization

Change 3488415 by Matt.Kuhlenschmidt

	Missed file

Change 3488565 by Arciel.Rekman

	Add pretty printers for gdb (UETOOL-1171).

	- Committing shelf by Cengiz.Terzibas, with some modifications.

	#jira UETOOL-1171

Change 3489094 by Nick.Darnell

	Slate - The Slate RHI Renderer now caches the TextureLODGroups so that it can properly lookup the filtering of different texture groups that are set to Default, instead of a particular filter override on a texture.
	Engine/Rendering - Simplifying some of the setup logic in TextureLODSettings so that code is shared for setting them up properly after loading from a config file.

Change 3489095 by Nick.Darnell

	PR #2699: GameViewportClient - Added a method to allow setting the viewport cur. (Contributed by rfenner)
	Review - Fixed spacing.


Change 3489108 by Matt.Kuhlenschmidt

	Fix deprecation warning

Change 3489120 by Nick.Darnell

	PR #3478: Fix possible UComboBoxString crash (Contributed by nakosung)


Change 3489147 by Andrew.Rodham

	Sequencer: Adding return value to function to appease static analysis
	  - This function is never compiled, and if it is, it won't compile, but static analysis doesn't know that

Change 3489264 by Nick.Darnell

	Testing - Finishing the thought behind an enum comment.

Change 3489265 by Nick.Darnell

	PR #2750: UE-35164: Button padding (Contributed by projectgheist)


Change 3489267 by Nick.Darnell

	PR #3645: UE-45464: Handle SSlider mouse interaction more accurately (Contributed by projectgheist)


Change 3489632 by Arciel.Rekman

	Correctness changes to MallocPoisonProxy.

	- Missing forwarding functions added.  Incorrect comment removed.
	- Change by Steve.Robb, doing here so it is in 4.17.

Change 3489689 by Arciel.Rekman

	More MallocPoisonProxy changes I missed in previous CL.

Change 3489751 by Matt.Kuhlenschmidt

	Moved editor performance settings out of per-project settings so they can be shared across projects

Change 3489837 by Lauren.Ridge

	Keyboard shortcut for entering/leaving VR Mode is now Alt+V

Change 3491082 by Arciel.Rekman

	Linux: better fix for the crash due to name collision (UE-46040).

	- Put classes in Sequencer module into Sequencer namespace instead of SceneOutliner namespace.
	- Undid change in the SceneOutliner module.

	#jira UE-46040

Change 3491096 by Arciel.Rekman

	Fix UAT compilation on the newest mono.

Change 3491240 by Max.Chen

	Sequencer: Disable key button when allow level edits only is on.

	#jira UE-46060

Change 3491406 by Yannick.Lange

	Fix editor crashes when opening a project that includes a plugin with more than two custom Volume classes. This issue was caused because registering show volume commands is based on finding volume classes. Finding these classes at multiple times resulted in a mismatch of the returned array of volume classes because modules/plugins were still being loaded.

	#jira UE-45806

Change 3491559 by Alexis.Matte

	Make sure we use the good preview mesh when doing a preview
	#jira UE-45963

Change 3491563 by Alexis.Matte

	Fix crash with staticmesh editor LodLevel selection

Change 3491564 by Nick.Darnell

	UMG - Fixing an offset with the grab handles in HDPI mode.

Change 3491595 by Nick.Darnell

	Editor - Fixing a clipping artifact in the pin type dropdown in the blueprint editor.

Change 3491604 by Nick.Darnell

	Back out changelist 3489265

Change 3491615 by Arciel.Rekman

	Added malloc replay proxy (Linux only for now).

	- Allows to dump malloc callstream (without regard to threads) and replay later to study the behavior of different mallocs and/or repro problems.

Change 3491684 by Arciel.Rekman

	Added FMalloc functions I missed.

	- Also moved function bodies into the .cpp file, this does not make a difference in performance in this case.

Change 3491692 by Matt.Kuhlenschmidt

	Some minor fixes to the static mesh editor
	- Fix UV combo button looking non-standard on the toolbar
	- Fix a few combo buttons in the details panel looking too big.

Change 3491702 by Arciel.Rekman

	Do not compile replay proxy-specific code when not used.

Change 3491717 by Michael.Dupuis

	#jira UE-35083:
	The component is now the owner of the PerInstanceRenderData instead of the proxy
	Add an Update path to only update specified instances range
	Always call BuildTreeIfOutdated so we have a standard code path to make sure static mesh are fully loaded before trying to build the tree
	Moved the Instance Buffer aysnc to the base class, as it's not related to UHierarchicalInstancedStaticMeshComponent
	Expose a new property to decide if we require dynamic instance buffer

Change 3491758 by Matt.Kuhlenschmidt

	Fix crash on static mesh editor shutdown

Change 3491873 by Cody.Albert

	Fixed clipping issue in Sequencer curve editor

	#rnx

Change 3491956 by Matt.Kuhlenschmidt

	Fix crash opening the Previewing sub-menu in the level editor settings menu

	#jira UE-46095

Change 3492046 by Jamie.Dale

	Fixing some font cooking warnings by splitting out font faces from their font assets

	#jira UE-45843

Change 3492076 by Jamie.Dale

	Fixing some font cooking warnings by splitting out font faces from their font assets

	#jira UE-45843

Change 3492165 by Jamie.Dale

	Fixing some font cooking warnings by splitting out font faces from their font assets

	#jira UE-45843

Change 3492222 by Jamie.Dale

	Fixing some font cooking warnings by splitting out font faces from their font assets

	#jira UE-45843

Change 3492274 by Michael.Dupuis

	#jira UE-46105: Fixed Clang warning

Change 3492338 by andrew.porter

	QAGame: Testing ensure when submitting

Change 3492371 by Nick.Darnell

	UMG - Reverting the animation sharing, cossed GLEO regressions in cooking.  Will look for a better solution.

Change 3492462 by Matt.Kuhlenschmidt

	Fix ensure checking in files through perforce

Change 3492491 by Jamie.Dale

	Fixing some font cooking warnings by splitting out font faces from their font assets

	#jira UE-45843

Change 3492505 by Jamie.Dale

	Fixing some font cooking warnings by splitting out font faces from their font assets

	#jira UE-45843

Change 3492517 by Jamie.Dale

	The package localization ID is no longer used at all at runtime, and is now truly editor-only

	This should have always been the case, but it was leaked into manifest/archives/PO files in 4.14, and while 4.15 removed it from PO files it was still present in the manifest/archives. This change removes it entirely (unless gathering editor-only data, and even then the PO file will still collapse the entries together for translation), and the deprecated 4.14 export behavior will now produce an error if you attempt to use it.

	After taking this change you'll need to run a gather, import, and compile of your LocRes files to update your game localization to use the new localization IDs.

Change 3492630 by Nick.Darnell

	UMG - Removing some extra cleanup code that's probably overkill and is causing a crash for uses of  "Within" in class meta.

	#jira UE-46124

Change 3492692 by Matt.Kuhlenschmidt

	Fix drop shadows inheriting the outline color of the font.  The outline should still appear but not have a different outline color from fill color

Change 3492714 by Matt.Kuhlenschmidt

	Added outline with drop shadow to font automation test

Change 3492737 by Matt.Kuhlenschmidt

	Fix linux

Change 3492992 by tim.gautier

	Resaving Ocean Widget Blueprints / Sequences to resolve Legacy Sequence Data warnings

	#jira UE-46132

Change 3493089 by Jamie.Dale

	Ensure that the composite font of a font asset is flushed when the font object is GC'd

Change 3493322 by Jamie.Dale

	Fixing null crash

	#jira UE-45758

Change 3494467 by Andrew.Rodham

	Fix Xbox warning

Change 3494852 by tim.gautier

	QAGame: Changed streaming method of QA-EditorSmoke-Landscape to Always Loaded

Change 3494853 by Nick.Darnell

	Another attempt at fixing the automation blueprint SA warning.

Change 3494896 by Arciel.Rekman

	Fix possible null pointer access during Vulkan init.

	- May fix static analysis warnings in UE-46142, although warnings seem to be referring to something else.

	#jira UE-46142

Change 3494987 by Jamie.Dale

	Fixing some font cooking warnings by splitting out font faces from their font assets

	#jira UE-45843

Change 3495010 by Matt.Kuhlenschmidt

	Adding additional logging to track down html5 issue

Change 3495212 by Michael.Dupuis

	#jira UE-46143: Properly init the InstanceRenderData during the cooking phase (required by fortnite)

Change 3495536 by Jamie.Dale

	Updating UGameEngine to call its Super::PreExit after performing its own teardown

	This prevents UEngine cleaning up resources that UGameEngine still needs.

	#jira UE-46159

Change 3495551 by Arciel.Rekman

	Another attempt to fix analyzer problem (UE-46142).

Change 3495794 by Jamie.Dale

	Fixing some font cooking warnings by splitting out font faces from their font assets

	#jira UE-45843

Change 3495905 by Matt.Kuhlenschmidt

	Fix USD crash when importing a meshwith no material

[CL 3499771 by Matt Kuhlenschmidt in Main branch]
2017-06-19 20:27:30 -04:00
Chris Bunner
81ef7a206b Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3461187)
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3388286 on 2017/04/11 by Chris.Bunner

	Fix mips in texture GnmUAV creation.

Change 3388287 on 2017/04/11 by Chris.Bunner

	Improved PS/CS code sharing for TemporalAA.

Change 3388291 on 2017/04/11 by Chris.Bunner

	HLODs now correctly hide their children in shadow maps.
	Propagate bCastFarShadow flag on HLOD generation.

	#jira UE-42254

Change 3388448 on 2017/04/11 by Brian.Karis

	Better handle divide by zero

Change 3388449 on 2017/04/11 by Brian.Karis

	Optimizations to shading model math.

	PR #3340: Bug fixes related to shader TODOs (Contributed by vgfx)


Change 3388455 on 2017/04/11 by Uriel.Doyon

	Changed Remove for RemoveSwap when clearing dynamic component references

Change 3388612 on 2017/04/11 by Simon.Tourangeau

	Support shaders in projects and in plugins
	When searching for a shader it will
	- First look in Engine/Shaders as usual
	- Then in project's Shader folder
	- Then in all enabled plugin Shader folders

	Project or plugin must be loaded in PostConfigInit phase
	Tested in PIE, engine (cooked, packaged)

Change 3388819 on 2017/04/11 by Arne.Schober

	DR - Faster MorpthTarget implementation. Changed the previous Gather aproach to a scatter based one. Reaching about 110GB/s on PS4 which is up to 4x faster than the previous implementation. On PC DX11 the impact is lower due to unecessary UAV barriers but still 2x faster on AMD and up to 6x faster on Nvidia Hardware.
	#RB Lina.Halper, Rolando.Caloca

Change 3388862 on 2017/04/11 by Guillaume.Abadie

	Allows Motion Blur and TAA in scene capture 2d.

Change 3388953 on 2017/04/11 by Uriel.Doyon

	Fixed issue where lights from hidden levels where affecting the lighting build, by checking if the light is registered before adding it.
	#UE-43220

Change 3389138 on 2017/04/11 by Arne.Schober

	DR - Fix crash when opening a Level without Contentbrowser open.
	#RB Matt.Kuhlenschmidt

Change 3389400 on 2017/04/11 by Uriel.Doyon

	- Renamed FMaterialResource::IsSeparateTranslucencyEnabled() to FMaterialResource::IsTranslucencyAfterDOFEnabled()
	- Removed different logic to determine if translucency after DOF was enabled, and centralized it into a single function: FSceneViewFamily::AllowTranslucencyAfterDOF()
	- FSceneRenderTargets::FinishRenderingSeparateTranslucency() now only resolves a single view, allowing better Begin/Finish scopes.
	- Renamed FSceneRenderTargets::SeparateTranslucencyDepthRT into FSceneRenderTargets::DownsampledTranslucencyDepthRT since this one is only allocated when rendering in downsampled mode.
	- Standard translucency is now rendered in the same resolution than translucency after DOF. (downsampled or full resolution)
	- Removed RenderTranslucencyParallel and merged it's logic into RenderTranslucency. Renamed DrawAllTranslucencyPasses to RenderViewTranslucency and added a parallel version RenderViewTranslucencyParallel.
	- Moved all debug draw logic (VisualizeLPV, ViewMeshElements and SimpleElementCollector) to a common place.
	- New option "r.AllowDownsampledStandardTranslucency" to control the downsampling of standard translucency. Affect blend module materials

	#jira UE-39505

Change 3389860 on 2017/04/12 by Richard.Wallis

	UE-41407 Cable actor does not render correctly in viewport on Mac.

	Build the mesh at creation time - call into exisiting mesh create function.

Change 3390933 on 2017/04/12 by Arne.Schober

	DR - potential fix for UE-43125 where the this pointer might get invalidated in the middle of the function
	#RB Marcus.Wassmer

Change 3391010 on 2017/04/12 by Ben.Marsh

	Compile UE4Game non-unity for Mac as part of nightly builds in //UE4/Dev-Rendering.

Change 3391412 on 2017/04/12 by Uriel.Doyon

	Mesh Decals are now sorted according to the component TranslucencySortPriority.
	#jira UE-43053

Change 3392117 on 2017/04/13 by Guillaume.Abadie

	Integrates Raven's experimental PCSS for cascaded shadow map hidden behind a CVar.

Change 3392179 on 2017/04/13 by Guillaume.Abadie

	Attempts to fix linux compilation by removing mistakenly submitted dead code.

Change 3392231 on 2017/04/13 by Guillaume.Abadie

	Fixes a wrong enum value real quick in FRenderingObjectVersion I introduced after main integration... Oups...

Change 3393879 on 2017/04/14 by Guillaume.Abadie

	Attempts to fix linux compilation warning.

Change 3393881 on 2017/04/14 by Guillaume.Abadie

	Back out changelist 3393879

Change 3393882 on 2017/04/14 by Guillaume.Abadie

	Attempts #2 to fix linux compilation error.

Change 3394100 on 2017/04/14 by Chris.Bunner

	Corrected material shared sampler usage with mip-biasing.

Change 3394174 on 2017/04/14 by Rolando.Caloca

	DR - Change ensure to warning

Change 3394221 on 2017/04/14 by Marcus.Wassmer

	Fix poseable mesh bounds calculation.

Change 3396238 on 2017/04/17 by David.Hill

	Fix Bloom with LensFlare
	Duplicating fix - will also fix directly in 4.16

	#jira 44050

Change 3397055 on 2017/04/17 by Joe.Graf

	Fixed Windows specific assumptions in Slate File Dialog Window's file filtering that lead to crashes

	#CodeReview: matt.kuhlenschmidt
	#rb: n/a

Change 3397921 on 2017/04/18 by Joe.Graf

	Rewrote SlateFileDlgWindow's file filtering to allow for extensionless file selection and to remove the O(n^2) file filtering

	#CodeReview: arciel.rekman, matt.kuhlenschmidt
	#rb: n/a

Change 3398406 on 2017/04/18 by Rolando.Caloca

	DR - Fix shaders in plugins on Mac

Change 3399546 on 2017/04/19 by Benjamin.Hyder

	Updating content for test levels (HDR, Bloom_FFT, DistanceFields_IndirectShadows)

Change 3399725 on 2017/04/19 by Guillaume.Abadie

	Avoids compiling PCSS shaders for SM4.

Change 3400295 on 2017/04/19 by Michael.Trepka

	Fixed metal shader compile errors in MorphTargets.usf

Change 3400457 on 2017/04/19 by Michael.Trepka

	Merged Rolando's shader fixes

Change 3400473 on 2017/04/19 by Arne.Schober

	DR - provide Aftermath Reason when init failed.
	#RB none

Change 3400699 on 2017/04/19 by Arne.Schober

	DR - Fixed Text macro
	#RB none

Change 3402280 on 2017/04/20 by Simon.Tovey

	Minor cascade fix

	#tests no crash

	#jira UE-41560

Change 3402517 on 2017/04/20 by Arne.Schober

	DR - Fix static analysis warning
	#RB none

Change 3403897 on 2017/04/21 by Arne.Schober

	DR - [UE-43898] - Someone missed a shaderversion bump which poisoned the DCC
	#RB None
	#jira UE-43898

Change 3404591 on 2017/04/21 by Olaf.Piesche

	#jira UE-41979
	Should never be crashing there, unless the mesh is changed after Init of the effect instance; this change safeguards against the number of mesh sections (and hence materials) changing after creation of the dynamic data to avoid the crash.

Change 3407451 on 2017/04/25 by Daniel.Wright

	Fixed Indirect Lighting Cache updates caused by capsule indirect shadows forcing point samples, breaking primitives using ILCQ_Volume

Change 3407452 on 2017/04/25 by Daniel.Wright

	Added r.AOJitterConeDirections, although disabled by default because it requires the temporal filter to be much stronger

Change 3408397 on 2017/04/25 by Daniel.Wright

	ViewFamily.bRealtimeUpdate is set to false if Slate is throttling (like when toggling show flags).  Volumetric fog discards the temporal history when not realtime, so you can see changes immediately.

Change 3408428 on 2017/04/25 by Daniel.Wright

	Changed 'r.AOMaxObjectsPerCullTile' default back to 512 as 256 causes artifacts with RTDF shadows

Change 3409764 on 2017/04/26 by Daniel.Wright

	Force dumping shader debug info for Global shaders when r.ShaderDevelopmentMode is enabled.  Most of the shaders you want to look at in a GPU capture are global shaders, and global shaders create few debug files.  'recompileshaders global' time 35s -> 38s for SM5.

Change 3411659 on 2017/04/27 by Daniel.Wright

	[Copy] Set Xbox One engine default screen percentage to 83.33 (1600x900), as ESRAM choices are dependent on this

Change 3411660 on 2017/04/27 by Daniel.Wright

	[Copy] Global distance field composite shader has a version for each flattened axis, which improves efficiency when updating a slab which is what camera movement typically causes

Change 3411667 on 2017/04/27 by Daniel.Wright

	[Copy] Discard distance field AO history buffer if it doesn't match the new buffer size.  This prevents reading uinitialized data after a scene render target resize.

Change 3411668 on 2017/04/27 by Daniel.Wright

	[Copy] Better indirect capsule shadow draw event info

Change 3411669 on 2017/04/27 by Daniel.Wright

	[Copy] Pass down FeatureLevel to AddSubjectPrimitive and GatherShadowsForPrimitiveInner instead of calling the scene's virtual function.  Showed up prominently in a sampling profile.

Change 3411755 on 2017/04/27 by Daniel.Wright

	[Copy] Occlusion queries are now always done before the base pass if a nearly full prepass is being used(DDM_AllOccluders or DDM_AllOpaque)
	* Removed r.OcclusionQueryLocation

Change 3411827 on 2017/04/27 by Daniel.Wright

	[Copy] Much cheaper implementation of IsForwardShadingEnabled which showed up prominently in sampling profiles - inlined function and no more unnecessary thread safety overhead

Change 3411829 on 2017/04/27 by Daniel.Wright

	Added an ensure to console manager when doing FindTConsoleVariableData* on a FAutoConsoleVariableRef

Change 3411837 on 2017/04/27 by Daniel.Wright

	[Copy] Worked around slow memcpy's being used to sort FSortedLightSceneInfo

Change 3411838 on 2017/04/27 by Daniel.Wright

	[Copy] Skip tracking MaterialRenderProxyMap on cooked platforms

Change 3411843 on 2017/04/27 by Daniel.Wright

	[Copy] Fixed r.ParallelShadows on PS4 and enabled by default engine-wide (saves 5ms RT with CSM)
	* Gnm was not tracking DepthClearValue when a depth target was set but not cleared
	* Gnm has a bug where TargetsNeedingEliminateFastClear does not persist across commandlist breaks.  Moved FinishRenderingGBuffer before RenderShadowDepthMaps to workaround (accidentally not in this changelist)
	* Shadow depth rendering was not using BindClearMRTValues to populate GNM parallel commandlist TargetsNeedingEliminateFastClear values

Change 3411873 on 2017/04/27 by Daniel.Wright

	[Copy] Deferred uniform expression caching.  Setting multiple parameters on a material only causes its uniform expressions to be recached once.
	* 280 calls to CacheUniformExpressions -> 120 during Fortnite combat (6.5ms -> 3.4ms)

Change 3411891 on 2017/04/27 by Daniel.Wright

	[Copy] GatherShadowPrimitives optimizations
	* Total GatherShadowPrimivies went from 2.3ms -> 1.3ms on PS4 with these changes in GPUPerfTest (duplicated 3x)
	* Much flatter primitive octree (16 -> 256 max primitives)
	* Primitives are culled against the shadow frustum before FPrimitiveSceneInfo or FPrimitiveSceneProxy are dereferenced in FilterPrimitiveForShadows
	* FilterPrimitiveForShadows work is done in a ParallelFor.  Primitive octree nodes are processed in different jobs.
	* StaticMeshWholeSceneShadowBatchVisibility now only stores entries for meshes with bRequiresPerElementVisibility (landscape).  Previously it was allocating and zeroing 500Kb 3x per frame (main view + 2 cascades) which cost ~.8ms on PS4.

Change 3412192 on 2017/04/27 by Michael.Trepka

	Fixed Clang compile errors in FortniteGame, partial copy of CL 3313426

Change 3412547 on 2017/04/27 by Daniel.Wright

	Fixed leak of FShadowMapAllocation and FLightMapAllocation's found by licensee

Change 3414239 on 2017/04/28 by Arne.Schober

	DR - UE-44500 - Removed use of Structured Buffer from MorphTargets due to HLSLCC not supporting it.

	#RB none
	#jira UE-44500

Change 3414754 on 2017/04/28 by Daniel.Wright

	Added VolumetricFogEmissive to ExponentialHeightFogComponent
	* Volumetric fog does not yet support precomputed lighting, so this is the only way to get an ambient lighting term

Change 3416859 on 2017/05/01 by Arne.Schober

	DR - Remove FeatureLevel from the Clear Functions to reduce area of error
	#RB Rolando.Caloca

Change 3420750 on 2017/05/03 by Arne.Schober

	DR - [UE-44497] - Fix several PS4 validation layer issues
	#RB Marcus.Wassmer

Change 3422869 on 2017/05/04 by Benjamin.Hyder

	Fix compile error from merge.

Change 3423938 on 2017/05/04 by Marc.Olano

	[UE-44453] Fix bloom problems by moving saturate after vector math

Change 3424494 on 2017/05/04 by Olaf.Piesche

	#jira UE-44589
	When using FindTCosoleVariableData, the CVar can not be an FAutoConsoleVariable.

	#tests as described in jira ticket

Change 3424754 on 2017/05/04 by Uriel.Doyon

	Fixed call to get texture compressor module outside the main thread.
	#jira UE-42168

Change 3425447 on 2017/05/05 by Uriel.Doyon

	#buildfix

Change 3427042 on 2017/05/05 by Arne.Schober

	DR -  Fix one of my typos
	#RB none

Change 3428119 on 2017/05/08 by Marcus.Wassmer

	Fix UE-44733
	static analysis warning.

Change 3428222 on 2017/05/08 by Uriel.Doyon

	Fixed bad condition in translucency rendering
	#jira UE-44452

Change 3429794 on 2017/05/08 by Uriel.Doyon

	Fixed issues with lightshafts and low res translucency.

	#jira UE-44452

Change 3430921 on 2017/05/09 by Rolando.Caloca

	DR -  Get additional function pointers for D3DReflect, Compile and Disassemble instructions from the same DLL when compiling D3D11 shaders.
	- Also fixes using the correct fxc.exe path to match the DLL we distribute.

Change 3431156 on 2017/05/09 by Rolando.Caloca

	DR - Remove unused code

Change 3431396 on 2017/05/09 by David.Hill

	Copy of changes made directly in 4.16  ( CL 341037 )
	to be submitted to dev-rendering

	#jira UE-44641

Change 3431400 on 2017/05/09 by Rolando.Caloca

	DR - Fix typo

Change 3431527 on 2017/05/09 by David.Hill

	#rb: none

	Oops.
	comment out r.ShaderDevelopmentMode =1

Change 3431590 on 2017/05/09 by Daniel.Wright

	Removed early return landmine in USceneCaptureComponent2D::Serialize

Change 3431591 on 2017/05/09 by Daniel.Wright

	Disallow map building while in PIE, or PIE while buildling lighting

Change 3431594 on 2017/05/09 by Daniel.Wright

	Added RenderTargetFormat to UTextureRenderTarget2D, with choices of 8 bit, 16fp, 32fp and 1, 2 or 4 channels.

Change 3431667 on 2017/05/09 by Daniel.Wright

	Volumetric fog now supersamples lighting when the history is not available, reducing noise on areas that just came on-screen or after a camera cut.
	* The number of samples is controlled by r.VolumetricFog.HistoryMissSupersampleCount, defaults to 4, cinematic scalability uses 16
	* Under fast camera movement, volumetric fog cost went from 1.79ms -> 1.97ms with 4 samples, on a 970GTX

Change 3432366 on 2017/05/10 by Richard.Wallis

	Fix for MetalRHI Asserts When Using "Profile GPU" With RHI-Thread/Parallel-Execution.  Don't insert events when not in RHIThread or the actual single-threaded-render thread.

	#jira UE-36006

Change 3432367 on 2017/05/10 by Richard.Wallis

	Fix for Metal ReStartRenderPass assert with profiling.  macOS metal asserts when using "profileGPU" even with -norhithread argument set.

	Added no action to the allowed render pass restart store actions for the depth buffer avoiding the assert.  Interested to know the details if this is not a valid assumption to make - throwing away the depth buffer after a render pass I think would be a common case.

	#jira UE-44322

Change 3432409 on 2017/05/10 by Richard.Wallis

	Merged across CL 3415890 from Release-4.16 fix for (jira UE-43895)

	Fix for deferred store actions getting cleared when we don't have a valid render target.

Change 3432833 on 2017/05/10 by Daniel.Wright

	Fixed Ocean compile error

Change 3432874 on 2017/05/10 by Marc.Olano

	Improved captions for Noise and VectorNoise material nodes

Change 3432947 on 2017/05/10 by Richard.Wallis

	Fix for shared Material Native Shader Libraries Don't Function With Iterative Cooking.   Keep latest versions of shader byte code in native shared material packaged build in an intermediate directory than can be reused on a later iterative cook.

	- Doesn't handle deletion of the intermediate directory contents.  Assumed to be a higher level requirement on non iterative cook flag.

	#jira UE-44657

Change 3433484 on 2017/05/10 by Arne.Schober

	DR - UE-44393 - Move ShaderPlatform into TShaderMap for extra debuginformation when it fails to find a proper shader. Also log when Gobalshaders are verified and recompiled.
	#jira UE-44393
	#RB Daniel.Wright

Change 3433515 on 2017/05/10 by Arne.Schober

	DR - Fix a bug where recompileshaders changed while compiling causes a crash where the chached local vertex factories are mutated while been used.
	#RB Daniel.Wright

Change 3433606 on 2017/05/10 by Daniel.Wright

	Fixed static shadowing of volumetric fog and translucency causing shadowing past the lightmass importance volume.

Change 3433619 on 2017/05/10 by Daniel.Wright

	Skip recapturing reflection captures when PropagateLightingScenarioChange is being called for a level unload.  This leaves stale results in reflection captures around when hiding a level in the editor, but avoids the double recapture that happens when swapping lighting scenarios in game, and the unnecessary reflection capture update when exiting PIE.

Change 3433795 on 2017/05/10 by Arne.Schober

	DR - add cmdline to select a GPU vendor when multiple GPUs from differnt Vendors are installed into the same Machine
	#RB marcus.Wassmer

Change 3433941 on 2017/05/10 by Daniel.Wright

	Cone vs tile bounding sphere intersection tests for Light Grid culling of spotlights, which provides much tighter culling than just View space tile AABB vs light bounding sphere.
	* Forward shading BasePass 3.7ms -> 2.4ms in a scene with 24 spotlights on 970GTX
	* Volumetric fog 2.87ms -> 2.09ms in the same scene

Change 3435139 on 2017/05/11 by Daniel.Wright

	Restored GTextureRenderTarget2DMaxSizeX which is used by Ocean

Change 3435297 on 2017/05/11 by Arne.Schober

	DR - Remove manual AlignOf and use C++11 keyword instead
	#RB Steve.Robb

Change 3435367 on 2017/05/11 by Daniel.Wright

	Circle vertex buffer for slightly tighter voxelization of volumetric fog shadowed lights
	* 1.5ms -> 1.38ms on 970 GTX with 24 spotlights

Change 3435522 on 2017/05/11 by Brian.Karis

	Dither opacity mask now stacks properly for non parallel polys. Dither is randomized by triangle normal.

Change 3436063 on 2017/05/11 by Daniel.Wright

	Disabled CLB_AggressiveBatching for PC d3d12 as it causes flickering artifacts in lighting

Change 3436269 on 2017/05/11 by Uriel.Doyon

	Fixed UVChannel data possibly not up-to-date depending on user manips.

Change 3436611 on 2017/05/12 by Simon.Tovey

	Improved name and tooltip for static mesh property controlling generation of alias tables for uniform sampling.

Change 3436676 on 2017/05/12 by Simon.Tovey

	Fix for fixed bounds being "invalid" unless set via the toolbar option.

Change 3436700 on 2017/05/12 by Simon.Tovey

	Crash fix.
	Issue found in https://udn.unrealengine.com/questions/355944/crash-in-fdynamicspriteemitterdatagetdynamicmeshel.html

	Particle proxies would have stale material resource pointers if the material is changed while the system was invisible.
	If the old material is freed during this time, the next time the system renders it will crash.

Change 3437367 on 2017/05/12 by Brian.Karis

	Fixed bug with small UV charts not packing.

Change 3437860 on 2017/05/12 by Arne.Schober

	DR - Fix alignment compile error in win32 where according to ABI alignment is 4 for int64
	#RB none

Change 3437972 on 2017/05/12 by Arne.Schober

	DR - Fix alignment compile error in win32 where according to ABI function calls cannot take alingned structures. In all of the cases the copy was completely unnecessary.
	#RB none

Change 3437975 on 2017/05/12 by Chris.Bunner

	Added calculation for MaterialParamsEx to MeshDecals.usf.

	#jira UE-43052

Change 3438109 on 2017/05/12 by Rolando.Caloca

	DR - Support for -nomcpp on SCW

Change 3438889 on 2017/05/15 by Chris.Bunner

	Nullptr check in a few material uniform expressions.

Change 3439351 on 2017/05/15 by Chris.Bunner

	Added tooltip to Power material expression.

Change 3439763 on 2017/05/15 by Daniel.Wright

	Apply passed in DistanceBiasSqr to line lights - allows volumetric fog to reduce aliasing on line lights

Change 3439764 on 2017/05/15 by Daniel.Wright

	Fixed order of operations with bTreatMaxDepthUnshadowed - manifested as unfiltered static shadow depth lookups

Change 3440722 on 2017/05/16 by Guillaume.Abadie

	Exposes Scene capture's FOV to blueprints

Change 3441680 on 2017/05/16 by Uriel.Doyon

	Added units to point light intensity, to allow the user to specify the value in candelas or lumens.
	New point light actors now configure the intensity in candelas by default.
	Replaced viewport exposure settings by an EV100 slider.
	Hidding the tone mapper in the show flag now still applies the exposure.
	Added a new AutoExposure method called EV100 which allows to specify :
	- MinEV100, MaxEV100
	- Calibration Constnat
	- Exposure Compensation
	#jira UE-42783

Change 3441884 on 2017/05/16 by Uriel.Doyon

	Fixed StreamingDistanceMultiplier not being applied to the texture streaming data.

Change 3442800 on 2017/05/17 by Gil.Gribb

	Fixed botched merge.

Change 3442896 on 2017/05/17 by Gil.Gribb

	UE4 - Allowed the possibility of running the RHI "thread" on task threads instead and cleaned up and unified the conditionals involved. By default we still have a dedicated RHI thread because it tested slightly faster.

Change 3443951 on 2017/05/17 by Richard.Wallis

	Added Apple override allocator macro - each command encoder type needs it's own allocator queue.

Change 3444787 on 2017/05/17 by Daniel.Wright

	Fixed DBuffer decal default normal (used when DBuffer decals enabled, but not decals rendered) not reconstructing zero properly, adding -.008 to WorldNormal which then caused artifacts with forward lighting specular on materials with roughness near 0.

Change 3444882 on 2017/05/17 by Daniel.Wright

	Added comment to  FClearValueBinding::DefaultNormal8Bit to make the dependency on shader decode clear

Change 3444883 on 2017/05/17 by Brian.Karis

	Improved contact shadows

Change 3445048 on 2017/05/17 by Daniel.Wright

	Fixed particle lights in forward shading, they were not setting the lighting channel mask properly

Change 3445107 on 2017/05/17 by Michael.Trepka

	Changed the order of operations in FMetalStateCache::SetRenderState to work around an issue with some Intel drivers where they would not recalculate the raster state in some edge cases.

	#jira UE-43725

Change 3445212 on 2017/05/17 by Uriel.Doyon

	Added a -CSV option to ListTextures command

Change 3445947 on 2017/05/18 by Richard.Wallis

	Clone of Release-4.16 Stream CL 3437181 and CL 3442450 - fix(s) for black rendering on macOS El Cap with Nvidia GPU.  Move sampling of EyeAdaption texture to pixel shader for Mac Metal using shader language version <= 1 only.

Change 3446545 on 2017/05/18 by Chris.Bunner

	Removed hardcoded (and unused) MRT write from Decal shaders.

	#jira UE-45095

Change 3446568 on 2017/05/18 by Marc.Olano

	Sobol and image-based importance sampling C++ functions and blueprint nodes

Change 3446988 on 2017/05/18 by Marc.Olano

	Fix build error: missing include

Change 3446990 on 2017/05/18 by Marc.Olano

	Cell-indexed Sobol sampling for shaders (in MonteCarlo.usf) and materials (Sobol and TemporalSobol nodes)

Change 3447142 on 2017/05/18 by Rolando.Caloca

	DR - RWLock instead of mutex for PSO cache

Change 3447144 on 2017/05/18 by Uriel.Doyon

	Moved shading model code to SetGBufferFromShadingModel(). This allows the code to be reused in other shader files.

Change 3447794 on 2017/05/18 by Brian.Karis

	Virtual texturing foundation code

Change 3448944 on 2017/05/19 by Arciel.Rekman

	Fix non-unity Linux (and Mac, etc) builds.

	- Mac fix is tentative, did not try.

Change 3449183 on 2017/05/19 by Marcus.Wassmer

	Duplicate fix for reflection captures to happen after sequencer updates.

Change 3449196 on 2017/05/19 by Uriel.Doyon

	Handling RCM_MinMax when reading FloatRGBA textures.
	This fixes pixel inspector always reading 1 for scene color values greater than one.

Change 3451652 on 2017/05/22 by Rolando.Caloca

	DR - Compile fix

	#jira UE-45245

Change 3451660 on 2017/05/22 by Chris.Bunner

	Additional compile fix.

	#jira UE-45245

Change 3451897 on 2017/05/22 by Daniel.Wright

	Moved RTDF shadow project back after the base pass, since it samples the GBuffer for subsurface shadowing.  Removed r.DFShadowAsyncCompute which was relying on the previous ordering.

Change 3452055 on 2017/05/22 by Rolando.Caloca

	DR - Switch compile fix

	#jira UE-45265

Change 3452089 on 2017/05/22 by Rolando.Caloca

	DR - Compile fix

	#jira UE-45246

Change 3452108 on 2017/05/22 by Rolando.Caloca

	DR - Compile fix

	#jira UE-45246

Change 3452179 on 2017/05/22 by Brian.Karis

	Exposed dimensions. Fixed static analysis.

Change 3452734 on 2017/05/22 by Daniel.Wright

	When post processing is disabled, TPT_TranslucencyAfterDOF translucency gets forced into the standard translucency pass.

Change 3452770 on 2017/05/22 by Daniel.Wright

	Static light source shapes drawn into reflection captures handle SourceLength via scaled sphere

Change 3452861 on 2017/05/22 by Rolando.Caloca

	DR - Switch compile fix

Change 3452952 on 2017/05/22 by Brian.Karis

	Small VT fixes

Change 3453647 on 2017/05/23 by Richard.Wallis

	Fix for tessellation shaders on Mac (Metal v1.2) failing to compile.

	#jira UE-45227

Change 3454844 on 2017/05/23 by Uriel.Doyon

	Fixed extra X16 on some point lights
	#jira UE-45250

Change 3454934 on 2017/05/23 by Chris.Bunner

	Backing out changelists 3441680, 3454636 and 3454844 for the sake of integration stability.

Change 3457131 on 2017/05/24 by Arne.Schober

	DR - [UE-45317] - Fix Depthbuffer not available for resolve in Forward mode

	#jira UE-45317
	#RB Chris.Bunner

Change 3457141 on 2017/05/24 by Marc.Olano

	Sobol bug fixes

Change 3457953 on 2017/05/24 by Brian.Karis

	Fix static analysis

	#jira UE-45315
	#jira UE-45314
	#jira UE-45313

Change 3459064 on 2017/05/25 by Chris.Bunner

	Fix for out of bounds material translation crash.

	#jira UE-45406

Change 3459700 on 2017/05/25 by Brian.Karis

	Revert using sprite index buffer because the vert order is different.

Change 3459847 on 2017/05/25 by Chris.Bunner

	Fixing ensure in RenderTestMap.

[CL 3461201 by Chris Bunner in Main branch]
2017-05-26 08:22:50 -04:00
Ben Marsh
9bf24bb276 Merging //UE4/Release-4.16@3405315 to Release-Staging-4.16 (//UE4/Release-Staging-4.16)
#rb none

[CL 3409211 by Ben Marsh in Staging-4.16 branch]
2017-04-26 08:28:56 -04:00